Data type override for bus object
1 view (last 30 days)
Show older comments
I'm using Fixed Point Tool to override data type in a Simulink model. Data type for each signal is overrided except for the signals defined by bus object. The model use a non virtual bus. The bus object has signals defined as fixed point type with the "Data type override" set to "Inherit". Using the local settings in Fixed Point Tool everithing works but if I override Fixed Point type with double I get a Data Type Mismatch error because bus object still has fixed point type (not double). How can I fix this problem? Are there other options to set?
0 Comments
Answers (1)
Kaustubha Govind
on 25 Mar 2014
Data Type Override (DTO) support for Bus objects was added in R2014a (see Release Notes). Here is the corresponding documentation. I think in previous releases, you may need to switch the bus object to a new one with DTO datatypes.
0 Comments
See Also
Categories
Find more on Iterative Fixed-Point Conversion in Simulink in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!