Diagnostics Pane: Connectivity

Connectivity Diagnostics Overview

Specify the diagnostic actions that Simulink® software should take when it detects a problem with block connections while compiling the model.

Configuration

Set the parameters displayed.

Tips

See Also

Signal label mismatch

Select the diagnostic action to take when Simulink software detects virtual signals that have a common source signal but different labels.

Settings

Default: none

none

Simulink software takes no action.

warning

Simulink software displays a warning.

error

Simulink software terminates the simulation and displays an error message.

Command-Line Information

Parameter: SignalLabelMismatchMsg
Type: string
Value: 'none' | 'warning' | 'error'
Default: 'none'

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionerror

See Also

Unconnected block input ports

Select the diagnostic action to take when the model contains a block with an unconnected input.

Settings

Default: warning

none

Simulink software takes no action.

warning

Simulink software displays a warning.

error

Simulink software terminates the simulation and displays an error message.

Command-Line Information

Parameter: UnconnectedInputMsg
Type: string
Value: 'none' | 'warning' | 'error'
Default: 'warning'

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionerror

See Also

Unconnected block output ports

Select the diagnostic action to take when the model contains a block with an unconnected output.

Settings

Default: warning

none

Simulink software takes no action.

warning

Simulink software displays a warning.

error

Simulink software terminates the simulation and displays an error message.

Command-Line Information

Parameter: UnconnectedOutputMsg
Type: string
Value: 'none' | 'warning' | 'error'
Default: 'warning'

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionerror

See Also

Unconnected line

Select the diagnostic action to take when the Model contains an unconnected line or an unmatched Goto or From block.

Settings

Default: warning

none

Simulink software takes no action.

warning

Simulink software displays a warning.

error

Simulink software terminates the simulation and displays an error message.

Command-Line Information

Parameter: UnconnectedLineMsg
Type: string
Value: 'none' | 'warning' | 'error'
Default: 'warning'

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionerror

See Also

Unspecified bus object at root Outport block

Select the diagnostic action to take while generating a simulation target for a referenced model if any of the model's root Outport blocks is connected to a bus but does not specify a bus object (see Simulink.Bus).

Settings

Default: warning

none

Simulink software takes no action.

warning

Simulink software displays a warning.

error

Simulink software terminates the simulation and displays an error message.

Command-Line Information

Parameter: RootOutportRequireBusObject
Type: string
Value: 'none' | 'warning' | 'error'
Default: 'warning'

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionerror

See Also

Element name mismatch

Select the diagnostic action to take if the name of a bus element does not match the name specified by the corresponding bus object.

Settings

Default: warning

none

Simulink software takes no action.

warning

Simulink software displays a warning.

error

Simulink software terminates the simulation and displays an error message.

Tip

You can use this diagnostic along with bus objects to ensure that your model meets bus element naming requirements imposed by some blocks, such as the Switch block.

Command-Line Information

Parameter: BusObjectLabelMismatch
Type: string
Value: 'none' | 'warning' | 'error'
Default: 'warning'

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionerror

See Also

Mux blocks used to create bus signals

Select the diagnostic action to take if Simulink software detects a signal that some blocks treat as a mux/vector, while other blocks treat the signal as a bus.

Settings

Default: warning

none

Simulink software takes no action.

This option disables checking for Mux blocks used to create buses.

warning

Simulink software displays a warning.

This option does not enforce strict bus behavior. However, if it detects a Mux block that creates a bus during model update or simulation, it displays a message in the MATLAB® Command Window that identifies the offending block. It does this for the first ten Mux blocks that it encounters that violate strict bus behavior.

error

Simulink software terminates the simulation and displays an error message identifying the offending Mux block.

This option enforces the following "strict bus" behavior during model editing, updating, and simulation:

Tips

Dependency

Selecting error enables the following parameter:

Command-Line Information

Parameter: StrictBusMsg
Type: string
Value: 'none' | 'warning' | 'ErrorLevel1' | 'WarnOnBusInputToNonBusBlock' | 'ErrorOnBusInputToNonBusBlock'
Default: 'warning'

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionerror

See Also

Bus signal treated as vector

Select the diagnostic action to take when Simulink software detects that virtual bus signals are used to specify muxes/vectors.

Settings

Default: warning

none

Disables checking for buses used as muxes/vectors.

warning

Simulink software displays a warning if it detects a bus used as a mux/vector. This option does not enforce strict bus behavior.

error

Simulink software terminates the simulation and displays an error message when it builds a model that uses any virtual bus as a mux/vector.

Tips

Dependency

This parameter is enabled only when Mux blocks used to create bus signals is set to error.

Command-Line Information

Parameter: StrictBusMsg
Type: string
Value: 'none' | 'warning' | 'ErrorLevel1' | 'WarnOnBusTreatedAsVector' | 'ErrorOnBusTreatedAsVector'
Default: 'warning'

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionerror

See Also

Invalid function-call connection

Select the diagnostic action to take if Simulink software detects incorrect use of a function-call subsystem.

Settings

Default: error

none

Simulink software takes no action.

warning

Simulink software displays a warning.

error

Simulink software terminates the simulation and displays an error message.

Tips

Command-Line Information

Parameter: InvalidFcnCallConnMsg
Type: string
Value: 'none' | 'warning' | 'error'
Default: 'error'

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionerror

See Also

Context-dependent inputs

Select the diagnostic action to take when Simulink software has to compute any of a function-call subsystem's inputs directly or indirectly during execution of a call to a function-call subsystem.

Settings

Default: Use local settings

Use local settings

Issues a warning only if the corresponding diagnostic is selected on the function-call subsystem's parameters dialog box (see the documentation for the Subsystem block's parameter dialog box for more information).

Enable all

Enables this diagnostic for all function-call subsystems in this model.

Disable all

Disables this diagnostic for all function-call subsystems in this model.

Tips

Command-Line Information

Parameter: FcnCallInpInsideContextMsg
Type: string
Value: 'Use local settings' | 'Enable All' | 'Disable All'
Default: 'Use local settings'

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionEnable all

See Also

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS