How many ways can we create a user-defined-data type
2 views (last 30 days)
Show older comments
In real time workshop How many ways can we create a user-defined-data types..can anyone explain me..
2 Comments
Walter Roberson
on 9 Jun 2012
To check: are you asking about dates, or are you asking about data-types ?
Accepted Answer
Kaustubha Govind
on 11 Jun 2012
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 Comments
Kaustubha Govind
on 21 Jun 2012
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.
More Answers (0)
See Also
Categories
Find more on Simulink Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!