Main Content

Stack workspace variable

Workspace variable for stack usage measurements

Since R2022a

Model Configuration Pane: Code Generation / Verification

Description

Specify workspace variable that collects stack usage measurements and allows viewing and analysis of stack usage profiles.

Dependencies

You can only specify this parameter if you select the Measure task stack usage check box. Otherwise the field appears dimmed.

Settings

stackProfile (default) | valid MATLAB® variable name

Default: stackProfile

When you run simulation, software generates specified workspace variable, which contains stack usage measurements.

Recommended Settings

ApplicationSetting
Debugging

No impact

TraceabilityValid MATLAB variable name
Efficiency

No impact

Safety precaution

No impact

Programmatic Use

Parameter: CodeStackProfileVariable
Type: character vector
Value: valid MATLAB variable name
Default: none

Version History

Introduced in R2022a