Use Union Datatype in Simulink

版本 1.0.0 (22.4 KB) 作者: Muthukumar Ganesan
Simulink doesn't generate Union datatype but the same can be imported into Simulink
126.0 次下载
更新时间 2022/8/20

查看许可证

Objective: Use union datatype in Simulink model
Simulink doesn't support union datatype whereas the same can be imported from C file
  1. Define a Bus which is similar to the required Union datatype
  2. Configure the scope of bus as imported and define the corresponding header file
  3. Define the union datatype in the header file mentioned

引用格式

Muthukumar Ganesan (2024). Use Union Datatype in Simulink (https://www.mathworks.com/matlabcentral/fileexchange/116520-use-union-datatype-in-simulink), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2022a
兼容任何版本
平台兼容性
Windows macOS Linux
标签 添加标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0