| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Simulink |
| Contents | Index |
| Learn more about Simulink |
busCells = Simulink.Bus.objectToCell(busNames)
busCells = Simulink.Bus.objectToCell(busNames) inputs a cell array of names of bus objects in the MATLAB base workspace, and returns a cell array of cell arrays in which each subordinate array contains the bus information defined by one of the bus objects. The order of the elements in the output array corresponds to the order of the names in the input array. If busNames is empty, the function converts all bus objects in the base workspace. The inverse function is Simulink.Bus.cellToObject.
busNames |
A cell array of names of bus objects in the MATLAB base workspace |
busCells |
A cell array of cell arrays in which each subordinate array represents a bus object and contains 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}
|
Bus Assignment | Bus Creator | Bus Selector | Bus to Vector | Simulink.Bus | Simulink.Bus.cellToObject | Simulink.Bus.createObject | Simulink.Bus.save | Simulink.BusElement
![]() | Simulink.Bus.createObject | Simulink.Bus.save | ![]() |

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |