Data type override for bus object

5 vues (au cours des 30 derniers jours)
Paolo
Paolo le 20 Jan 2014
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?

Réponses (1)

Kaustubha Govind
Kaustubha Govind le 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.

Community Treasure Hunt

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

Start Hunting!

Translated by