Create, modify, and manage Simulink.Bus objects
To interactively create a Simulink.Bus object, and the
Simulink.BusElement objects that it contains, use the Simulink® Bus Editor.
The Bus objects that you create using the Bus Editor are stored in the
MATLAB® base workspace. To simulate a block that uses a Bus object, the
Bus object must be in the base workspace or in a data dictionary.
To save Bus object definitions using the Bus Editor, export the
Bus objects from the base workspace into a MATLAB code file or MAT-file. If you save a Bus object in a
MATLAB code file, you can edit it programmatically. For details, see Create Bus Objects Programmatically.
You can use the Bus Editor to change and delete existing Bus objects and
bus elements. The Bus Editor displays all Bus objects in the base workspace.
Changes that create, reorder, or delete entities take effect immediately in the base
workspace.
Note
The Bus Editor does not provide an undo capability. Changes to properties take effect when you apply them.
For more information on Bus objects, see Specify Bus Properties with Simulink.Bus Object Data Types.
In the Simulink Toolstrip, on the Modeling tab, in the Design gallery, click Bus Editor.
At the MATLAB command prompt, enter buseditor.
In the Model Explorer, in a Bus object dialog box, click the Launch Bus
Editor button.