Use Simulink.Bus objects to create cell array containing bus information
creates a cell array of bus information from a set of cells
= Simulink.Bus.objectToCell(busNames
)Simulink.Bus
objects in the MATLAB® base workspace. The cell array contains subordinate cell arrays that
define each Bus
object. The order of elements in the output cell
array corresponds to the order of names in the input cell array.
creates a cell array of bus information from a set of cells
= Simulink.Bus.objectToCell(busNames
,scope
)Bus
objects
in the data dictionary specified by scope
. The cell array
contains subordinate cell arrays that define each Bus
object. The
order of elements in the output cell array corresponds to the order of names in the
input cell array.
The inverse function is Simulink.Bus.cellToObject
.