Quote:
Originally Posted by Ether
Does their code generator still use double-precision floats for booleans?
|
No. Simulink started to support data types many releases ago. Even before Simulink supported data types, you could get third party tools (such as TargetLink from dSPACE) that would support fixed point code generation.
In case anyone is interested in how prevalent Mathworks products are, many current control systems in production use auto-generated code from Simulink and Stateflow. Many engine and transmission controllers on cars that you drive use code generated from Simulink. The company that I currently work for does the vast majority of our control software in Simulink/Stateflow and the code is auto-generated. Likewise for the last company that I worked for.