Main Content

Signal display level

Persistence level for MPT signal data objects

Model Configuration Pane: Code Generation / Code Placement


Specify the persistence level for MPT signal data objects.


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


10 (default) | integer value

Default: 10

Specify an integer value indicating the persistence level for MPT signal data objects. This value indicates the level at which to declare signal data objects as global data in the generated code. The persistence level allows you to make intermediate variables global 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 that you can specify for a specific MPT signal data object in the mpt.Signal properties dialog.

Recommended Settings

DebuggingNo impact
TraceabilityA valid integer
EfficiencyNo impact
Safety precautionNo impact

Programmatic Use

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

Version History

Introduced before R2006a