Save Simulink.Bus objects in function
Simulink.Bus.save(
saves all
fileName
)Simulink.Bus
objects from the MATLAB® base workspace in a function. The generated function defines object
properties in a cell array of cell arrays, then creates the Bus
objects by calling Simulink.Bus.cellToObject
.