How can I use a user-defined MATLAB class as a Simulink signal datatype?
古いコメントを表示
I would like to use a user-defined MATLAB class as the datatype for a Simulink signal. I have tried just entering the MATLAB class name into the "Data Type" field for the Simulink signal in the Model Explorer, but when starting the simulation I get the error "DataType 'ClassName' did not resolve to a valid data type".
回答 (1 件)
Kaustubha Govind
2012 年 8 月 23 日
0 投票
Please see this previously answered question on the only available mechanisms to create user-defined types in Simulink.
カテゴリ
ヘルプ センター および File Exchange で Simulink についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!