| Using Simulink | ![]() |
Changing the Embedded MATLAB Editor
Use the tools described in the following topics to change the appearance of the Embedded MATLAB Editor to add convenience and utility to its use.
Displaying Embedded MATLAB Function Windows
By default, if you have more than one Embedded MATLAB function loaded in the Embedded MATLAB Editor, only the most recently loaded is displayed. Editing windows for previously loaded functions are accessed individually with tabs in the document bar. You can display the editing windows for all loaded functions simultaneously with one of the following selections from the Window menu:
Moving the Document Bar
When you edit an Embedded MATLAB function, it is displayed as a window in the Embedded MATLAB Editor. Because you can open more than one Embedded MATLAB function in the Embedded MATLAB Editor, a tab is added for the window in the document bar. Each tab contains the name of an Embedded MATLAB Function block loaded for editing. By default, the document bar appears at the bottom of the Embedded MATLAB Editor. If you want to edit an Embedded MATLAB function not in focus, click its tab.
You can change the location of the document bar to appear at the top of, to the left of, or to the right of the Embedded MATLAB function window, or you can make it disappear altogether, as follows:
Eliminating the Toolbar
By default, the Embedded MATLAB Editor has a toolbar with shortcuts to tools that you can access from the menu. To eliminate the toolbar,
Setting Preferences
You can choose preferences for the Embedded MATLAB Editor, such as font size, tab size, and so on, as follows:
| Note The Embedded MATLAB Editor is a derivation of the MATLAB editor you use to edit M-files in MATLAB. The preference changes that you specify are made to the MATLAB editor. |
| The Embedded MATLAB Function Editor | Editing the Embedded MATLAB Function | ![]() |
© 1994-2005 The MathWorks, Inc.