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 | errornoneThe software takes no action.
warningThe software displays a warning.
errorThe 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.Busobject for the corresponding Model block to output a bus.When a root Outport block receives a virtual bus and does not specify a
Simulink.Busobject, the corresponding Model block output is a vector.
Recommended Settings
| Application | Setting |
|---|---|
| Debugging | No impact |
| Traceability | No impact |
| Efficiency | No impact |
| Safety precaution | error |
Programmatic Use
Parameter:
RootOutportRequireBusObject |
Value: 'none' | 'warning' | 'error' |
Default: 'warning' |
Version History
Introduced in R2006b