Port and parameter mismatch


Select the diagnostic action to take if Simulink® software detects a port or parameter mismatch during model loading or updating.

Category: Diagnostics


Default: none


Simulink software takes no action.


Simulink software displays a warning and refreshes the Model block.


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


  • Port mismatches occur when there is a mismatch between the I/O ports of a Model block and the root-level I/O ports of the model it references.

  • Parameter mismatches occur when there is a mismatch between the parameter arguments recognized by the Model block and the parameter arguments declared by the referenced model.

  • Model block icons can display a message indicating port or parameter mismatches. To enable this feature, from the parent model's Simulink Editor, in the Debug tab, select Information Overlays > Ref Model I/O Mismatch.

Command-Line Information

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

Recommended Settings

DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionerror

Related Topics