MATLAB: How to control fixed point rounding and other FIMATH settings from basic Simulink blocks using Simulink Fixed Point 6.2 (R2009b)

basicfimathfixedpointsimulinksimulink fixed pointstateflow

When I am using the Embedded MATLAB block, I have control over rounding and other settings when doing multiplication and other operations in fixed point.
I would like to have the same control when using basic Simulink blocks and Stateflow charts.

Best Answer

The ability to control the fixed point rounding and other FIMATH settings using Simulink Fixed Point 6.2 (R2009b) is not available in basic Simulink blocks and Stateflow charts respectively.
As a possible work around, use an Embedded MATLAB block in Simulink, or an Embedded MATLAB Stateflow function.