Main Content

Composite Interfaces

Group signals or messages to reduce model complexity at component interfaces

To reduce model complexity, group individual signals or messages into composite lines using buses.

Virtual buses meet most modeling requirements for composite interfaces and provide the flexibility to combine different types of signals.

For a comparison of modeling techniques, see Composite Interface Guidelines.

Bloques

expandir todo

In Bus Element Select input from external port
Out Bus ElementSpecify output that connects to external port
Bus AssignmentAssign new values to specified bus elements
Bus CreatorCreate bus from input elements
Bus SelectorSelect elements from incoming bus
DemuxExtract and output elements of virtual vector signal
MuxCombine input signals of same data type and complexity into virtual vector
SelectorSelect input elements from vector, matrix, or multidimensional signal
Vector Concatenate, Matrix ConcatenateConcatenate input signals of same data type for iterative processing
Bus to VectorConvert virtual bus to vector
Signal ConversionConvert signal to new type without altering signal values

Funciones

expandir todo

Simulink.Bus Specify properties of buses
Simulink.BusElement Specify properties of elements of buses
Simulink.Bus.cellToObjectConvert cell array containing bus information to Simulink.Bus objects
Simulink.Bus.createObjectCreate Simulink.Bus objects from blocks or MATLAB structures
Simulink.Bus.objectToCellUse Simulink.Bus objects to create cell array containing bus information
Simulink.Bus.saveSave Simulink.Bus objects in function
Simulink.Bus.createMATLABStructCreate MATLAB structures that use the same hierarchy and attributes as buses
Simulink.BlockDiagram.addBusToVectorConvert virtual bus signals into vector signals by adding Bus to Vector blocks

Herramientas

Type EditorCreate, modify, and manage types, such as bus objects

Temas

Composite Interface Basics

Visually Group Lines

Modify and Configure Buses

Define Bus Object Data Types

Functionally Group Lines

Simplify Iterative Processing

Información relacionada