Main Content

Parameter tune level


Specify the persistence level for MPT parameter data objects.

Category: Code Generation > Code Placement


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.


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

Command-Line Information

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

Recommended Settings

DebuggingNo impact
TraceabilityA valid integer
EfficiencyNo impact
Safety precautionNo impact

Related Topics