Main Content

Unspecified bus object at root Outport block

Description

Select the diagnostic action to take when generating a simulation target for a referenced model if any root Outport block of the referenced model receives a bus and does not specify a Simulink.Bus object.

Category: Diagnostics

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.

Tips

  • This diagnostic applies only when a model is used as a referenced model. Simulating or updating the model on its own does not invoke the diagnostic.

  • A root Out Bus Element block does not require a Bus object for the corresponding Model block to output a bus.

  • When a root Outport block receives a virtual bus and does not specify a Bus object, the corresponding Model block outputs a vector.

Command-Line Information

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

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionerror

See Also

Functions

Related Topics