Main Content

Parameter tune level

Persistence level for MPT parameter data objects

Model Configuration Pane: Code Generation / Code Placement

Description

Specify the persistence level for MPT parameter data objects.

Dependencies

This parameter must be the same for top-level and referenced models.

Settings

10 (default) | integer value

Default: 10

Specify an integer value indicating the persistence level for MPT parameter data objects. This value indicates the level at which to declare parameter data objects as tunable global data in the generated code. The persistence level allows you to make intermediate variables global and tunable during initial development so you can remove them during later stages of development to gain efficiency.

This parameter is related to the Persistence level value you that can specify for a specific MPT parameter data object in the mpt.Parameter properties dialog.

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityA valid integer
EfficiencyNo impact
Safety precautionNo impact

Programmatic Use

Parameter: ParamTuneLevel
Type: integer
Value: a valid integer
Default: 10

Version History

Introduced before R2006a