Inline invariant signals
Description
Transform symbolic names of invariant signals into constant values.
Category: Optimization
Settings
Default: Off
On
Simulink® Coder™ software uses the numerical values of model parameters, instead of their symbolic names, in generated code. An invariant signal is not inline if it is nonscalar, complex, or the block inport the signal is attached to takes the address of the signal.
Off
Uses symbolic names of model parameters in generated code.
Dependencies
This parameter requires a Simulink Coder license.
This parameter is enabled when you set Default parameter behavior to
Inlined
.
Command-Line Information
Parameter:
InlineInvariantSignals |
Value:
'on' | 'off' |
Default:
'off' |
Recommended Settings
Application | Setting |
---|---|
Debugging | Off |
Traceability | Off |
Efficiency | On |
Safety precaution | No impact |