How can I implement a custom datatype in Simulink model So, that the generated code is same as Union datatype in C.
조회 수: 2 (최근 30일)
이전 댓글 표시
The closest alternate will be Structure of structure using bus in Simulink.
댓글 수: 0
채택된 답변
TAB
2018년 8월 6일
As far as I know, Simulink never generates Union for any built-in data class.
For your requirement, you need to create your own data class and custom staorage class.
Check cscdesigner in your matlab help.
댓글 수: 0
추가 답변 (1개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!