Simulink.BusElement
Specify properties of elements of buses
Description
ASimulink.BusElement
object is an element of aSimulink.Bus
object. It validates the properties of a signal in a bus.
BusElement
objects exist only within theBus
object. You can specify aBus
object, but not aBusElement
object, as a data type.
When you simulate or update a model, Simulink®checks whether the signals in a bus have the properties specified by the correspondingBusElement
objects.
To create and modifyBus
andBusElement
objects in the base workspace or a data dictionary, you can use theBus Editoror MATLAB®commands. You cannot storeBus
objects in model workspaces.
克雷亚tion
Syntax
Description
返回一个be
= Simulink.BusElementBusElement
object with default property values.
Properties
Examples
Alternatives
To interactively create aBusElement
object, use theBus Editor.
To createBusElement
objects from blocks in a model, MATLAB data, and external C code, see克雷亚te Bus Objects Programmatically.