Why do my boolean signals appear as a double data type in Simulink 7.4 (R2009b)?

17 views (last 30 days)
Some of the boolean signals in my model are always treated as doubles, which may cause issues if downstream blocks expect the input to be boolean. Even if I place Data Type Conversion blocks in the correct place with "Output data type" set to "boolean", the signals are still treated as doubles.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 20 Aug 2010
This may be due to an incorrect Fixed-Point setting in the model.
To check this setting, go to Tools > Fixed-Point > Fixed-Point Tool, and find the option called "Data type override". Ensure that this is set to "Use local settings", and not "True doubles".

More Answers (0)

Products


Release

R2009b

Community Treasure Hunt

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

Start Hunting!