Main Content

Model block version mismatch


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


Default: none


Simulink software refreshes the Model block.


Simulink software displays a warning and refreshes the Model block.


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

When you receive an error related to a Model block version mismatch, you can manually refresh the Model block. Select the Model block. Then, on the Model Block tab, select Refresh. Alternatively, use the Simulink.ModelReference.refresh function.


  • 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

DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precaution

No recommendation

Related Topics