Data type override for bus object

5 ビュー (過去 30 日間)
Paolo
Paolo 2014 年 1 月 20 日
回答済み: Kaustubha Govind 2014 年 3 月 25 日
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?

回答 (1 件)

Kaustubha Govind
Kaustubha Govind 2014 年 3 月 25 日
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.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by