| Simulink® | ![]() |
Convert bus objects to cell array containing bus information
Simulink.Bus.objectToCell(busNames)
Simulink.Bus.objectToCell(busNames) creates a cell array of cell arrays that contains bus information from a set of bus objects in the MATLAB® base workspace. Each element of the cell array represents a bus object that has been converted.
The argument busNames is a cell array of bus object names to convert to cell arrays. If the specified array is empty, the function converts all bus objects in the base workspace.
The function converts each bus object to a cell array with the following data:
{BusName, HeaderFile, Description,
BusElements}The BusElements field is an array containing the following data for each element:
{ElementName, Dimensions, DataType,
SampleTime, Complexity, SamplingMode}Simulink.Bus.save, Simulink.Bus.cellToObject
![]() | Simulink.Bus.createObject | Simulink.Bus.save | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |