Main Content

Unspecified bus object at root Outport block


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


Default: warning


Simulink® software takes no action.


Simulink software displays a warning.


Simulink software terminates the simulation and displays an error message.


  • 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

DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionerror

See Also


Related Topics