On Macintosh platforms, use the command key instead of Ctrl.
You can access actions in the Simulink® Editor using the Ctrl+. shortcut. For AZERTY keyboards, the equivalent shortcut is the Ctrl+Shift+. shortcut.
After the action menu appears, start typing the action name or description and select the action from the menu.
To enable context-sensitive search, you can select a part of the model before using the Ctrl+. shortcut. For example, you can select a Gain block.
While the shortcut menu is open, you can toggle between the block and action menus using the Ctrl+. shortcut.
Objects include blocks, signal lines, signal labels, and annotations.
Select an object
Select additional objects
|Select all objects||Ctrl+A|
Drag with the right mouse button.
|Move any object, including signal labels||Drag.|
|Delete selected object|
Delete or Backspace
Set the main parameter for selected block
Add a block at the current location from shortcut menu
Double-click and start typing the block name, then select the block from the menu.
Get prompted for suggested block based on context
|Double-click at the end of a line drawn from an existing block, then select a suggestion from the list or start typing to select one from the library.|
Open or hide the Property Inspector
Copy block or model from another Simulink Editor window
Drag between windows.
Resize block, keeping same ratio of width and height
Resize block from the center
Rotate block clockwise
Rotate block counterclockwise
Click a port, then click the port you want it to connect to.
Select the first block, then Ctrl+click a second block.
Drag from port to port.
Click a port and hold Shift as you connect to the next port. Hold Shift to make multiple, consecutive connections.
Draw branch line
Click a port, move the cursor near the line you want to branch, and then click after you see the preview.
Select a line, move the cursor toward the element you want to connect with, and then click the port.
Route lines around blocks
Shift+drag while drawing.
|Interactively add ports to blocks that take multiple inputs|
Drag toward the port from a compatible block or signal line.
Drag from the edge of the block that you want to add the port to.
Click the edge of the port, and then drag.
Click the edge of the port, move the cursor over the signal type — signal, bus, or connector — from the menu, and drag.
|Open block label text box for editing|
Click the block label.
Select the block and use F2.
On Macintosh platforms, select the block and use control+return.
Create subsystem from selected blocks
Create subsystem or area from empty selection
To create the highlighted option, which you can change by using the arrow keys or mouse:
Press the number key associated with an option.
Open selected block
Go to parent of active subsystem or referenced model
Look under block mask
Comment through a block
Comment out or uncomment a block
Refresh Model blocks
For a linked block, go to the library of the parent block
Open Model Explorer
The signal name appears in a label on the signal line.
|Name a signal line||Double-click the signal and type its name.|
|Name a branch of a named signal line||Double-click the branch.|
|Name every branch of a signal||Right-click the signal, select Properties, and use the dialog box.|
|Delete signal label and name||Delete characters in the label or delete the name in Signal Properties dialog box.|
|Delete signal label only||Right-click the label and select Delete Label.|
|Open signal label text box for editing|
Double-click the signal line.
Click the label.
Select the signal line (not the label) and use F2.
On Macintosh platforms, select the signal line (not the label) and use control+return.
|Move signal label||Drag the label to a new location on the same signal line.|
|Copy signal label||Ctrl+drag the signal label.|
|Change the label font||Select the signal line (not the label), and then on the Format tab, click Fonts for Model.|
Open Configuration Parameters dialog box
Build model (for code generation)
|Zoom to normal (100%)||Ctrl+0 or Alt+1|
|Zoom with mouse|
On the Modeling tab, select Environment > Simulink Preferences. On the Editor pane, clear Scroll wheel controls zooming to zoom using Ctrl+scroll wheel.
|Zoom in on object||Drag the Zoom button from the palette to the object.|
|Fit diagram to screen||Spacebar|
Shift+arrow for larger pans.
|Scroll with mouse|
Hold the scroll wheel down and drag the mouse.
|Open a model||Ctrl+O|
|Open Library Browser from a model||Ctrl+Shift+L|
|Move selection down in the Blocks or Libraries pane||Down arrow|
|Move selection up in the Blocks or Libraries pane||Up arrow|
|Expand a node in the Libraries pane||Right arrow|
|Collapse a node in the Libraries pane||Left arrow|
|Refresh Libraries pane||F5|
|Show parent library in Blocks pane||Esc|
|Select a block found with the search tool in the Blocks pane||Ctrl+R|
|Insert the selected block in a new model||Ctrl+I|
|Increase zoom in the Blocks pane||Ctrl++|
|Decrease zoom in the Blocks pane||Ctrl+-|
|Reset zoom to default in the Blocks pane||Alt+1|
|Find a block||Ctrl+F|
Create a model
Save all modified models in active model hierarchy
Save active referenced model