Using keyboard shortcuts to navigate MATLAB® can increase productivity and is useful in situations where using a mouse is not an option.
This table describes the actions and related keyboard shortcuts useful for navigating MATLAB without a mouse.
Action | Keyboard Shortcut |
---|---|
Move to the next visible panel. | Ctrl+Tab |
Move to the previous visible panel. | Ctrl+Shift+Tab |
Move to the next tab in a panel. | Ctrl+Page Down |
Move to the previous tab in a panel. | Ctrl+Page Up |
Make an open tool the active tool. |
On macOS systems, use the Command key instead of the Ctrl key. |
Show access keys for the toolstrip. | Alt Not supported on macOS systems. |
Open a toolstrip tab and show access keys for the toolstrip. | Alt+ For example, pressing Alt followed by H accesses the Home tab and displays access keys for the features available on that tab. Not supported on macOS systems. |
You cannot customize most of these shortcuts. For information about customizable keyboard shortcuts and how to view and modify them, see Customize Keyboard Shortcuts.
MATLAB Online provides access to MATLAB from a standard web browser. Because MATLAB Online™ runs in a browser, navigation using the keyboard is slightly different.
This table describes the actions and related keyboard shortcuts useful for navigating MATLAB Online without a mouse.
Action | Keyboard Shortcut |
---|---|
Move forward through the toolstrip and other tools. | Ctrl+F6 On macOS systems, use Command+F6 instead. |
Move backward through the toolstrip and other tools. | Ctrl+Shift+F6 On macOS systems, use Command+Shift+F6 instead. |
Move into a tool. | Tab |
Move between controls within a tool. | Up/Down Arrow, Left/Right Arrow |
Close controls within a tool, for example, documents in the Editor and Live Editor. | Delete |
Open context menu. | Shift+F10 Not supported on macOS systems. |
Show access keys for the toolstrip. | Alt Not supported on macOS systems. |
Open a toolstrip tab and show access keys for the toolstrip. | Alt+ For example, pressing Alt followed by H accesses the Home tab and displays access keys for the features available on that tab. Not supported on macOS systems. |
Display a compact list of keyboard shortcuts. | Ctrl+/ |
Customizing shortcuts is not supported in MATLAB Online.
In addition to navigation, keyboard shortcuts are useful for accessing other frequently used actions in MATLAB.
This table describes several of these actions and their related keyboard shortcuts. For additional keyboard shortcuts, see the documentation for a specific tool or feature.
Action | Keyboard Shortcut |
---|---|
Cancel the current action. | Esc (escape) For example, if you click the name of the Edit menu, the whole menu appears. Pressing Esc hides the menu again. In the Function Browser, pressing Esc up to three times has the following effects:
|
Interrupt MATLAB execution. | Ctrl+C On Windows® and Linux® systems, you also can use Ctrl+Break. On macOS systems, you also can use Command+. (period). |
You cannot customize these shortcuts. For information about customizable keyboard shortcuts and how to view and modify them, see Customize Keyboard Shortcuts.