Main Content

Behavior when a matching unit test for subsystem reference is missing

Description

The Behavior when a matching unit test for subsystem reference is missing parameter specifies whether to display an error or a warning when you simulate or build a model with a subsystem reference block whose signatures do not match any of the unit test signatures of the subsystem reference block in the subsystem file.

Settings

Default: error

none

If matching unit tests are missing, Simulink® simulates or builds the model without displaying any warning or error message.

warning

If matching unit tests are missing, Simulink simulates or builds the model and displays a warning message. The warning message includes names of subsystem reference instances in the model that do not have matching unit tests.

error

If matching unit tests are missing, Simulink does not simulate or build the model. The error message displays the names of subsystem reference instances in the model that do not have matching unit tests.

Command-Line Information

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

Recommended Settings

ApplicationSetting
Debuggingerror, warning
TraceabilityNo impact
EfficiencyNo impact
Safety precautionerror