Workspace variable - Workspace variable for execution-time measurements - MATLAB (original) (raw)

Main Content

Workspace variable for execution-time measurements

Model Configuration Pane: Code Generation / Verification

Description

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

Dependencies

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

Settings

executionProfile (default) | valid MATLABĀ® variable name

Default: executionProfile

When you run simulation, software generates specified workspace variable as an coder.profile.ExecutionTime object. To view and analyze execution profiles, use methods from the coder.profile.ExecutionTime and coder.profile.ExecutionTimeSection classes.

Application Setting
Debugging No impact
Traceability Valid MATLAB variable name
Efficiency No impact
Safety precaution No impact

Programmatic Use

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

Version History

Introduced in R2011a

See Also

Topics