Enable local block outputs
Declare block signals locally or globally
Model Configuration Pane: Code Generation / Optimization
The Enable local block outputs parameter specifies whether block signals are declared locally or globally.
This parameter is enabled by Signal storage reuse.
Block signals are declared locally in functions.
Block signals are declared globally.
If it is not possible to declare an output as a local variable, the generated code declares the output as a global variable.
If you are constrained by limited stack space, you can turn Enable local block outputs off and still benefit from memory reuse.
|Safety precaution||No impact|
|Type: character vector|
Introduced before R2006a