| Contents | Index |
Simulink.Bus.save(fileName)
Simulink.Bus.save(fileName, format)
Simulink.Bus.save(fileName, format, busNames)
Simulink.Bus.save(fileName) saves all bus objects (instances of Simulink.Bus class residing in the MATLAB base workspace) in a MATLAB file that contains a cell array of cell arrays. Each subordinate array represents a bus object and contains the following data:
{BusName, HeaderFile, Description, DataScope, Alignment, Elements}The BusElements field is an array containing the following data for each element:
{ElementName, Dimensions, DataType,
SampleTime, Complexity, SamplingMode, DimensionsMode, Min, Max,DocUnits, Description}Executing a MATLAB file created by Simulink.Bus.save in cell array format calls Simulink.Bus.cellToObject to recreate the bus objects and returns the new bus objects in the cell array. To suppress the creation of bus objects, specify the optional argument 'false' when you execute the MATLAB file.
Simulink.Bus.save(fileName, format) saves the bus objects in a MATLAB file that contains either a cell array of bus information or the bus objects themselves.
Simulink.Bus.save(fileName, format, busNames) saves only those bus objects whose names appear in busNames.
Bus Assignment | Bus Creator | Bus Selector | Bus to Vector | Simulink.Bus | Simulink.Bus.cellToObject | Simulink.Bus.createMATLABStruct | Simulink.Bus.createObject | Simulink.Bus.objectToCell | Simulink.BusElement

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