Skip to Main Content Skip to Search
Product Documentation

Simulink.BusElement - Describe element of signal bus

Description

Objects of this class define elements of buses defined by objects of the Simulink.Bus class.

Property Dialog Box

Name

Name of this element. See Signal Names for guidelines for signal names.

Data Type: string

Access: RW

DataType

Name of the data type of this element. The value of this field can be a:

Click the Show data type assistant button to display the Data Type Assistant, which helps you set the Data type parameter. (See Using the Data Type Assistant.)

Data Type: string

Access: RW

Dimensions

A vector specifying the dimensions of this element.

Data Type: array.

Access: RW

Complexity

Numeric type (real or complex) of this element. Must be real if this bus element is itself a bus.

Data Type: string

Access: RW

SampleTime

Size of the interval between times when this signal value must be recomputed. Must be -1 (inherited) if this bus element is itself a bus or if the bus that includes this element passes through a block that changes the bus's sample time, such as a Rate Transition block. See How to Specify the Sample Time for more information.

Data Type: double

Access: RW

Min

The minimum value of this element. This value must be a finite real double scalar. This value must be empty [] if this element is itself a bus.

Data Type: double

Access: RW

Max

The maximum value of this element. This value must be a finite real double scalar. This value must be empty [] if this element is itself a bus.

Data Type: double

Access: RW

SamplingMode

Sampling mode of this element. Must be sample-based if this element is itself a bus. This field is intended to be used by applications based on Simulink models.

Data Type: string

Access: RW

DimensionsMode

A field that specifies if the size (the number of elements in a dimension) of this element may vary or remain fixed during simulation. This field can have the following values:

See Variable-Size Signal Basics for more information.

Data Type: string

Access: RW

See Also

Using Composite Signals, Bus Assignment, Bus Creator, Bus Selector, Bus to Vector, Simulink.Bus, Simulink.Bus.cellToObject, Simulink.Bus.createObject, Simulink.Bus.objectToCell, Simulink.Bus.save

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS