MATLAB Answers

How can I implement a custom datatype in Simulink model So, that the generated code is same as Union datatype in C.

Tarun Jhamnani 님이 질문을 제출함. 2 Aug 2018
최근 활동 TAB 님이 답변함. 6 Aug 2018
The closest alternate will be Structure of structure using bus in Simulink.

  댓글 수: 0

로그인 to comment.

답변 수: 1

TAB 님의 답변 6 Aug 2018
 채택된 답변

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

로그인 to comment.



Translated by