Main Content

Unspecified bus object at root Outport block

Diagnostic action to take when root Outport block of referenced model does not specify bus object for bus output

Model Configuration Pane: Diagnostics / Connectivity

Description

The Unspecified bus object at root Outport block configuration parameter determines 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.

Settings

warning (default) | none | error
none

The software takes no action.

warning

The software displays a warning.

error

The 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 Simulink.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 Simulink.Bus object, the corresponding Model block output is a vector.

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionerror

Programmatic Use

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

Version History

Introduced in R2006b