Port and parameter mismatch

Description

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

Category: Diagnostics

Settings

Default: none

none

Simulink software takes no action.

warning

Simulink software displays a warning and refreshes the Model block.

error

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

Tips

  • 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

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionerror

Related Topics