Main Content

Workspace variable

Description

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

Category: Code Generation > Verification

Settings

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.

Dependency

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

Command-Line Information

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

Recommended Settings

ApplicationSetting
Debugging

No impact

TraceabilityValid MATLAB variable name
Efficiency

No impact

Safety precaution

No impact

Related Topics