How many ways can we create a user-defined-data type
4 ビュー (過去 30 日間)
古いコメントを表示
In real time workshop How many ways can we create a user-defined-data types..can anyone explain me..
2 件のコメント
Walter Roberson
2012 年 6 月 9 日
To check: are you asking about dates, or are you asking about data-types ?
採用された回答
Kaustubha Govind
2012 年 6 月 11 日
I know of three ways:
- Alias types using Simulink.AliasType
- Custom numeric types using Simulink.NumericType
- Structure types using Simulink.Bus
You can also define a Custom Storage Class if you want to introduce a new storage class specification. (examples of storage classes are static, volatile, etc.)
3 件のコメント
Tim
2012 年 6 月 15 日
Don't you also have to register the respective data type via sl_customization.m?
Kaustubha Govind
2012 年 6 月 21 日
Yes, I do believe you need to do that, but I was only listing the several different techniques available. For more detailed information, the documentation should be consulted.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Event Functions についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!