Documentation

Simulink.Bus.cellToObject

Convert cell array containing bus information to bus objects

Syntax

Simulink.Bus.cellToObject(busCells)

Description

Simulink.Bus.cellToObject(busCells) creates a set of bus objects in the MATLAB® base workspace from a cell array of bus information. The inverse function is Simulink.Bus.objectToCell.

Input Arguments

busCells

A cell array of cell arrays in which each subordinate array represents a bus object and contains the following data:

{BusName, HeaderFile,
Description, DataScope,
 Alignment, Elements}

The Elements field is an array containing the following data for each element:

{ElementName, Dimensions,
 DataType, SampleTime, 
Complexity, SamplingMode, 
DimensionsMode, Min, 
Max, Units, 
Description}

Introduced before R2006a

Was this topic helpful?