Configure the Simulink® Editor. These options affect the behavior of all Simulink models. The options relate to how models appear in terms of the visual theme, scroll wheel behavior, and toolbar configuration.
Option to cause diagrams to appear in the Simulink Editor using the visual theme that was used in the editor before R2012b.
Default: Off
Uses the visual theme that was used in the Simulink Editor before R2012b. Content preview does not display.
Uses the current Simulink Editor visual theme.
Parameter:
EditorModernTheme |
Value:
'on' | 'off' |
Default:
'on' |
For additional information, see Build and Edit a Model Interactively.
Change the default display for signal lines that cross.
Default: Tunnel
Tunnel
Causes straight signal lines that cross each other but are not connected to display a slight gap before and after the vertical line where it intersects the horizontal line.
Line Hop
Shows a bend where the vertical line intersects the horizontal line. Simulink adjusts the side the bend appears on to avoid overlapping with a block icon. If having the bend on either side overlaps with a block, Simulink uses a solid line.
None
Uses solid lines. This format can improve performance slightly for updating very large models. With the Use classic diagram theme preference enabled, Simulink uses a solid line.
Parameter:
EditorPathXStyle |
Value:
'grad_pin' | 'hop' |
'none' |
Default:
'grad_pin' |
For additional information, see Build and Edit a Model Interactively.
Option to use the scroll wheel on the mouse to zoom without the Ctrl key modifier. On Macintosh platforms with an Apple Magic Trackpad, if you enable Scroll wheel controls zooming, a panning gesture causes zooming.
Default: On
Enables using the mouse scroll wheel to zoom without using a key modifier. On Macintosh platforms with an Apple Magic Trackpad, enables pan to zoom.
Enables zooming by using the Ctrl key with the scroll wheel.
Parameter:
EditorScrollWheelZooms |
Value:
'on' | 'off' |
Default:
'on' |
For more information on zooming, see Zoom, Scroll, and Change Current Window.
Option to display the contents of hierarchical model elements, such as subsystems, on new elements.
Default: On
Displays the contents of hierarchical model elements, such as subsystems, on new elements. This preference does not affect existing elements in your model.
Does not display the contents of hierarchical model elements.
Parameter:
EditorContentPreviewDefaultOn |
Value:
'on' | 'off' |
Default:
'on' |
You can also turn content preview on and off for each hierarchical element in your model. For detailed information on content preview, see Preview Content of Model Components.
Option to enable the use of smart editing cues to perform common model editing tasks quickly. These are the smart editing features affected by this option:
Quick insert — Add a block to a model by typing a block name.
Tear-off block addition — Add a complementary block from a block tear-off cue. For example, when you add a GoTo block, you can use a tear-off to add a corresponding From block.
Multiselection actions — Perform actions from the prompt that appears when you select multiple blocks.
Single-selection actions — Perform actions from the prompt that appears when you select a block or a signal.
Default: On
Enables smart editing cues.
Disables smart editing cues.
Parameter:
EditorSmartEditing |
Value:
'on' | 'off' |
Default:
'on' |
For more information, see Build and Edit a Model Interactively.
Option to be prompted to enter a key parameter when you add a block to a model.
Default: On
Enables the prompt to enter a key parameter when adding a block to a model.
Disables the prompt to enter a key parameter when adding a block to a model.
Parameter:
EditorSmartEditingHotParam |
Value:
'on' | 'off' |
Default:
'on' |
For an example that uses a key parameter, see Add More Blocks.
Specify the buttons that appear on the toolbar. For more information, see these options:
Specify the buttons related to opening, saving, and creating to display on the toolbar.
Default: New/Open/Save
New/Save
Displays the New and Save buttons on the toolbar.
New/Open/Save
Displays the New, Open, and Save buttons on the toolbar.
None
Does not display any of the file-related buttons on the toolbar.
Parameter:
ToolbarVisibilities |
Type: struct |
Field name:
NewSave |
Value:
'on' | 'off' |
Default:
'off' |
Field name:
NewOpenSave |
Value:
'on' | 'off' |
Default:
'on' |
For more information on editing in the Simulink Editor, see Build and Edit a Model Interactively.
Specify whether to show the Print button on the toolbar.
Default: Off
Displays the Print button on the toolbar.
Does not display the Print button on the toolbar.
Parameter:
ToolbarVisibilities |
Type: struct, field name:
Print |
Value:
'on' | 'off' |
Default:
'off' |
For information on printing, see Print Model Diagrams.
Specify whether to show the Cut, Copy, and Paste buttons on the toolbar.
Default: On
Displays the Cut, Copy, and Paste buttons on the toolbar
Does not display the Cut, Copy, and Paste buttons on the toolbar.
Parameter:
ToolbarVisibilities |
Type: struct, field name:
CutCopyPaste |
Value:
'on' | 'off' |
Default:
'on' |
Specify whether to show the Undo and Redo buttons on the toolbar.
Default: Off
Displays the Undo and Redo buttons on the toolbar.
Does not display the Undo and Redo buttons on the toolbar.
Parameter:
ToolbarVisibilities |
Type: struct, field name:
UndoRedo |
Value:
'on' | 'off' |
Default:
'off' |
For more information on editing in the Simulink Editor, see Build and Edit a Model Interactively.
Specify whether to show the browsing buttons on the toolbar.
Default: On
Displays the browse back, forward, and up arrows on the toolbar.
Does not display the browsing buttons on the toolbar.
Parameter:
ToolbarVisibilities |
Type: struct, field name:
Navigate |
Value:
'on' | 'off' |
Default:
'on' |
For more information on editing in the Simulink Editor, see Build and Edit a Model Interactively.
Specify whether to show the Library, Model Configuration, and Model Explorer buttons on the toolbar.
Default: On
Displays the Library, Model Configuration, and Model Explorer buttons on the toolbar.
Does not display the Library, Model Configuration, and Model Explorer buttons on the toolbar.
Parameter:
ToolbarVisibilities |
Type: struct, field name:
LibraryExplorer |
Value:
'on' | 'off' |
Default:
'on' |
Specify whether to show the Refresh Blocks button on the toolbar. Refreshing a Model block updates its internal representation to reflect changes in the interface of the model that it references.
Default: Off
Displays the Refresh Blocks button on the toolbar.
Does not display the Refresh Blocks button on the toolbar.
Parameter:
ToolbarVisibilities' |
Type: struct, field name:
RefreshBlocks |
Value:
'on' | 'off' |
Default:
'off' |
For more information, see Refresh Model Blocks.
Specify whether to show the Update Diagram button on the toolbar.
Default: Off
Displays the Update Diagram button on the toolbar.
Does not display the Update Diagram button on the toolbar.
Parameter:
'ToolbarVisibilities |
Type: struct, field name:
UpdateDiagram |
Value:
'on' | 'off' |
Default:
'off' |
For more information, see Update Diagram and Run Simulation.
Specify whether to show the simulation controls on the toolbar.
Default: On
Displays the simulation controls on the toolbar.
Does not display the simulation controls on the toolbar.
Parameter:
ToolbarVisibilities |
Type: struct, field name:
Simulation |
Value:
'on' | 'off' |
Default:
'on' |
For information on simulation, see Simulate a Model Interactively.
Specify whether to show the Fast Restart button with the simulation controls on the toolbar.
Default: On
Displays the Fast Restart button on the toolbar.
Does not display the Fast Restart button on the toolbar.
For more information on fast restart, see Get Started with Fast Restart.
Specify whether to show the Debug Model button on the toolbar.
Default: Off
Displays the Debug Model button on the toolbar.
Does not display the Debug Model button on the toolbar.
Parameter:
ToolbarVisibilities |
Type: struct, field name:
DebugModel |
Value:
'on' | 'off' |
Default:
'off' |
For more information on using Debug Model, see Start the Simulink Debugger.
Specify whether to show the Model Advisor button on the toolbar.
Default: On
Displays the Model Advisor button on the toolbar.
Does not display the Model Advisor button on the toolbar.
Parameter:
ToolbarVisibilities |
Type: struct, field name:
ModelAdvisor |
Value:
'on' | 'off' |
Default:
'on' |
For information on the Model Advisor, see Check Your Model Using the Model Advisor.
Specify whether to show the Build button on the toolbar.
Default: On
Displays the Build button on the toolbar.
Does not display the Build button on the toolbar.
Parameter:
ToolbarVisibilities |
Type: struct, field name:
Build |
Value:
'on' | 'off' |
Default:
'on' |
For more information on building models, see:
Code Generation Basics (Embedded Coder)
Deployment (Embedded Coder)
Specify whether to show the Find button on the toolbar.
Default: Off
Displays the Find button on the toolbar.
Does not display the Find button on the toolbar.
Parameter:
ToolbarVisibilities |
Type: struct, field name:
Find |
Value:
'on' | 'off' |
Default:
'off' |
For more information, see Search for Model Elements Using Find.