Main Content

Model block version mismatch

Description

Select the diagnostic action to take when loading or updating this model if Simulink® software detects a mismatch between the version of the model used to create or refresh a Model block in this model and the current version of the referenced model.

Category: Diagnostics

Settings

Default: none

none

Simulink software refreshes the Model block.

warning

Simulink software displays a warning and refreshes the Model block.

error

Simulink software displays an error message and does not refresh Model block.

Tips

  • Version mismatches can occur when you modify, save, and close a referenced model while the model that references it is not loaded. For more information, see Manage Model Versions and Specify Model Properties.

  • Model block icons can display a message indicating version mismatches. To enable this feature, from the parent model, on the Debug tab, select Information Overlays > Ref. Model Version. The Model block displays a version mismatch, for example: Rev:1.0 != 1.2.

Command-Line Information

Parameter: ModelReferenceVersionMismatchMessage
Value: 'none' | 'warning' | 'error'
Default: 'none'

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precaution

No recommendation

Related Topics