Simulink Preferences Editor Pane

Simulink Editor Preferences Overview

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.

See Also

Use classic diagram theme

Option to cause diagrams to appear in the Simulink Editor using the visual theme that was used in the editor before R2012b.

Settings

Default: Off

On

Uses the visual theme that was used in the Simulink Editor before R2012b. Content preview does not display.

Off

Uses the current Simulink Editor visual theme.

Command-Line Information

Parameter: EditorModernTheme
Value: 'on' | 'off'
Default: 'on'

See Also

For additional information, see Build and Edit a Model Interactively.

Line crossing style

Change the default display for signal lines that cross.

Settings

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.

Command-Line Information

Parameter: EditorPathXStyle
Value: 'grad_pin' | 'hop' | 'none'
Default: 'grad_pin'

See Also

For additional information, see Build and Edit a Model Interactively.

Scroll wheel controls zooming

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.

Settings

Default: On

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.

Off

Enables zooming by using the Ctrl key with the scroll wheel.

Command-Line Information

Parameter: EditorScrollWheelZooms
Value: 'on' | 'off'
Default: 'on'

See Also

For more information on zooming, see Zoom, Scroll, and Change Current Window.

Content preview displays for new hierarchical elements

Option to display the contents of hierarchical model elements, such as subsystems, on new elements.

Settings

Default: On

On

Displays the contents of hierarchical model elements, such as subsystems, on new elements. This preference does not affect existing elements in your model.

Off

Does not display the contents of hierarchical model elements.

Command-Line Information

Parameter: EditorContentPreviewDefaultOn
Value: 'on' | 'off'
Default: 'on'

See Also

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.

Enable smart editing features

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.

Settings

Default: On

On

Enables smart editing cues.

Off

Disables smart editing cues.

Command-Line Information

Parameter: EditorSmartEditing
Value: 'on' | 'off'
Default: 'on'

See Also

For more information, see Build and Edit a Model Interactively.

Edit key parameter when adding new blocks

Option to be prompted to enter a key parameter when you add a block to a model.

Settings

Default: On

On

Enables the prompt to enter a key parameter when adding a block to a model.

Off

Disables the prompt to enter a key parameter when adding a block to a model.

Command-Line Information

Parameter: EditorSmartEditingHotParam
Value: 'on' | 'off'
Default: 'on'

See Also

For an example that uses a key parameter, see Add More Blocks.

Toolbar Configuration

Specify the buttons that appear on the toolbar. For more information, see these options:

File Toolbar

Specify the buttons related to opening, saving, and creating to display on the toolbar.

Settings

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.

Command-Line Information

Parameter: ToolbarVisibilities
Type: struct
Field name: NewSave
Value: 'on' | 'off'
Default: 'off'
Field name: NewOpenSave
Value: 'on' | 'off'
Default: 'on'

See Also

For more information on editing in the Simulink Editor, see Build and Edit a Model Interactively.

Print

Specify whether to show the Print button on the toolbar.

Settings

Default: Off

On

Displays the Print button on the toolbar.

Off

Does not display the Print button on the toolbar.

Command-Line Information

Parameter: ToolbarVisibilities
Type: struct, field name: Print
Value: 'on' | 'off'
Default: 'off'

See Also

For information on printing, see Print Model Diagrams.

Cut/Copy/Paste

Specify whether to show the Cut, Copy, and Paste buttons on the toolbar.

Settings

Default: On

On

Displays the Cut, Copy, and Paste buttons on the toolbar

Off

Does not display the Cut, Copy, and Paste buttons on the toolbar.

Command-Line Information

Parameter: ToolbarVisibilities
Type: struct, field name: CutCopyPaste
Value: 'on' | 'off'
Default: 'on'

Undo/Redo

Specify whether to show the Undo and Redo buttons on the toolbar.

Settings

Default: Off

On

Displays the Undo and Redo buttons on the toolbar.

Off

Does not display the Undo and Redo buttons on the toolbar.

Command-Line Information

Parameter: ToolbarVisibilities
Type: struct, field name: UndoRedo
Value: 'on' | 'off'
Default: 'off'

See Also

For more information on editing in the Simulink Editor, see Build and Edit a Model Interactively.

Browse Back/Forward/Up

Specify whether to show the browsing buttons on the toolbar.

Settings

Default: On

On

Displays the browse back, forward, and up arrows on the toolbar.

Off

Does not display the browsing buttons on the toolbar.

Command-Line Information

Parameter: ToolbarVisibilities
Type: struct, field name: Navigate
Value: 'on' | 'off'
Default: 'on'

See Also

For more information on editing in the Simulink Editor, see Build and Edit a Model Interactively.

Library/Model Configuration/Model Explorer

Specify whether to show the Library, Model Configuration, and Model Explorer buttons on the toolbar.

Settings

Default: On

On

Displays the Library, Model Configuration, and Model Explorer buttons on the toolbar.

Off

Does not display the Library, Model Configuration, and Model Explorer buttons on the toolbar.

Command-Line Information

Parameter: ToolbarVisibilities
Type: struct, field name: LibraryExplorer
Value: 'on' | 'off'
Default: 'on'

See Also

Refresh Blocks

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.

Settings

Default: Off

On

Displays the Refresh Blocks button on the toolbar.

Off

Does not display the Refresh Blocks button on the toolbar.

Command-Line Information

Parameter: ToolbarVisibilities'
Type: struct, field name: RefreshBlocks
Value: 'on' | 'off'
Default: 'off'

See Also

For more information, see Refresh Model Blocks.

Update Diagram

Specify whether to show the Update Diagram button on the toolbar.

Settings

Default: Off

On

Displays the Update Diagram button on the toolbar.

Off

Does not display the Update Diagram button on the toolbar.

Command-Line Information

Parameter: 'ToolbarVisibilities
Type: struct, field name: UpdateDiagram
Value: 'on' | 'off'
Default: 'off'

See Also

Simulation

Specify whether to show the simulation controls on the toolbar.

Settings

Default: On

On

Displays the simulation controls on the toolbar.

Off

Does not display the simulation controls on the toolbar.

Command-Line Information

Parameter: ToolbarVisibilities
Type: struct, field name: Simulation
Value: 'on' | 'off'
Default: 'on'

See Also

For information on simulation, see Simulate a Model Interactively.

Fast Restart

Specify whether to show the Fast Restart button with the simulation controls on the toolbar.

Settings

Default: On

On

Displays the Fast Restart button on the toolbar.

Off

Does not display the Fast Restart button on the toolbar.

See Also

For more information on fast restart, see Get Started with Fast Restart.

Debug Model

Specify whether to show the Debug Model button on the toolbar.

Settings

Default: Off

On

Displays the Debug Model button on the toolbar.

Off

Does not display the Debug Model button on the toolbar.

Command-Line Information

Parameter: ToolbarVisibilities
Type: struct, field name: DebugModel
Value: 'on' | 'off'
Default: 'off'

See Also

For more information on using Debug Model, see Start the Simulink Debugger.

Model Advisor

Specify whether to show the Model Advisor button on the toolbar.

Settings

Default: On

On

Displays the Model Advisor button on the toolbar.

Off

Does not display the Model Advisor button on the toolbar.

Command-Line Information

Parameter: ToolbarVisibilities
Type: struct, field name: ModelAdvisor
Value: 'on' | 'off'
Default: 'on'

See Also

For information on the Model Advisor, see Check Your Model Using the Model Advisor.

Build

Specify whether to show the Build button on the toolbar.

Settings

Default: On

On

Displays the Build button on the toolbar.

Off

Does not display the Build button on the toolbar.

Command-Line Information

Parameter: ToolbarVisibilities
Type: struct, field name: Build
Value: 'on' | 'off'
Default: 'on'

See Also

For more information on building models, see:

Find

Specify whether to show the Find button on the toolbar.

Settings

Default: Off

On

Displays the Find button on the toolbar.

Off

Does not display the Find button on the toolbar.

Command-Line Information

Parameter: ToolbarVisibilities
Type: struct, field name: Find
Value: 'on' | 'off'
Default: 'off'

See Also

For more information, see Search for Model Elements Using Find.