Main Content

Nonvirtual Buses and MATLAB System Block

The MATLAB System block supports nonvirtual buses as input and output signals. The corresponding System object™ input or output must be a MATLAB® structure whose fields match those defined by the nonvirtual bus. If the System object output is a MATLAB structure, it must define propagator methods. In addition, the getOutputDataTypeImpl method must return the name of the corresponding bus object. This bus object must exist in the base workspace or a data dictionary linked to the model.

Note

If the output is the same bus type as the input, do not use the propagatedInputDataType method to obtain the name of the bus object. Instead, you must return the name of the bus object directly.

Related Topics