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. On macOS systems, use the Command key instead of Ctrl.
Action | Keyboard Shortcut |
---|---|
Move to the next visible panel. | Ctrl+Tab |
Move to the previous visible panel. | Ctrl+Shift+Tab |
Move to the next tabbed panel. | Ctrl+Page Down |
Move to the previous tabbed panel. | Ctrl+Page Up |
Make an open tool the active tool. |
|
Show access keys for the toolstrip. | Alt |
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. |
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 Cmd+F6 instead. |
Move backward through the toolstrip and other tools. | Ctrl+Shift+F6 On macOS systems, use Cmd+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 on Windows® and UNIX® systems. | Shift+F10 |
Show access keys for the toolstrip. | Alt |
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. |
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 UNIX systems, you also can use Ctrl+Break. On Mac systems, you also can use Cmd+. (period). |
You cannot customize these shortcuts. For information about customizable keyboard shortcuts and how to view and modify them, see Customize Keyboard Shortcuts.