Main Content

Select objective

Description

Select a code generation objective for reviewing your model configuration settings by using the Code Generation Advisor.

Category: Code Generation

Settings

Default: Unspecified

Unspecified

No objective specified. Do not optimize code generation settings by using the Code Generation Advisor.

Debugging

Specifies debugging objective. Optimize code generation settings for debugging the code generation build process by using the Code Generation Advisor.

Execution efficiency

Specifies execution efficiency objective. Optimize code generation settings to achieve fast execution time by using the Code Generation Advisor.

Dependency

This parameter name appears only for GRT-based targets. For ERT-based targets, the parameter Prioritized objectives lists the code generation objectives.

Command-Line Information

Parameter: 'ObjectivePriorities'
Type: cell array of character vectors or string array
Value: {''} | {'Debugging'} | {'Execution efficiency'}
Default: {''}

Recommended Settings

ApplicationSetting
DebuggingDebugging
TraceabilityNot applicable for GRT-based targets
EfficiencyExecution efficiency
Safety precaution

No recommendation

Related Topics