Main Content

Select objective

Code generation objective

Model Configuration Pane: Code Generation

Description

Parameter Select objective allows you select a code generation objective for reviewing model configuration parameter settings by using the Code Generation Advisor.

Dependencies

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

Settings

Unspecified (default) | Debugging | Execution efficiency
Unspecified

Does not use the Code Generation Advisor to optimize code generation settings.

Debugging

Uses the Code Generation Advisor to optimize code generation settings for debugging the code generation build process.

Execution efficiency

Use the Code Generation Advisor to optimize code generation settings to achieve fast execution time.

Recommended Settings

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

No recommendation

Programmatic Use

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

Version History

Introduced in R2009a