Block reduction

www.kxcad.net Home > CAE Software Index > MATLAB Index >



Reduce execution time by collapsing or removing groups of blocks.

Settings

Default: On

On

Simulink searches for and reduces the following block patterns:

Off

Simulink does not search for block patterns that can be optimized. Simulation and generated code are not optimized.

Tips

Accumulators.   Simulink recognizes the block diagram shown in the following figure as an accumulator:

Dead Code Elimination.   Any blocks or signals in an unused code path are eliminated from generated code.

Command-Line Information

Parameter: BlockReduction
Type: string
Value: 'on' | 'off'
Default: 'on'

Recommended Settings

ApplicationSetting
DebuggingOff
TraceabilityOff
EfficiencyOn
Safety precautionNo impact

See Also