MATLAB is a numerical computing environment and programming language used widely in engineering, science, and data analysis for matrix math, modeling, and visualization. Keyboard shortcuts in its editor and command window accelerate running code, navigating scripts, and managing the workspace.
Official:Official site
All MATLAB keyboard shortcuts (Mac)
+ 2 more controls in the table below
+ 2 more controls in the table below
43 shortcuts
Editing 8
| Action | Shortcut |
|---|---|
| Comment | ⌘/ |
| Uncomment | ⌘⌥/ |
| Smart Indent | ⌘I |
| Undo | ⌘Z |
| Redo | ⌘⇧Z |
| Increase Indent | ⌘] |
| Decrease Indent | ⌘[ |
| Duplicate Line | ⌘⇧C |
Running Code 6
| Action | Shortcut |
|---|---|
| Run File | F5 |
| Run Current Section | ⌘↵ |
| Run and Advance | ⌘⇧↵ |
| Interrupt Execution | ⌘. |
| Pause | ⌘F5 |
| Quit Execution | ⇧F5 |
Navigation 5
| Action | Shortcut |
|---|---|
| Go to Line | ⌘L |
| Set or Clear Bookmark | ⌘F2 |
| Next Bookmark | F2 |
| Previous Bookmark | ⇧F2 |
| Go to Next Variable | ⌥↓ |
File 5
| Action | Shortcut |
|---|---|
| Save File | ⌘S |
| New Script | ⌘N |
| Open File | ⌘O |
| Close File | ⌘W |
| Reopen Closed File | ⌘⇧T |
Desktop Navigation 5
| Action | Shortcut |
|---|---|
| Activate Command Window | ⌘0 |
| Activate Editor | ⌘⇧0 |
| Activate Command History | ⌘1 |
| Activate Workspace | ⌘3 |
| Move Between Desktop Areas | ⌘F6 |
Debugging 4
| Action | Shortcut |
|---|---|
| Set or Clear Breakpoint | F12 |
| Step | F10 |
| Step In | F11 |
| Step Out | ⇧F11 |
Find & Replace 3
| Action | Shortcut |
|---|---|
| Find | ⌘F |
| Find Next | ⌘G |
| Find and Replace | ⌘⌥F |
General 3
| Action | Shortcut |
|---|---|
| Search | ⌘⇧␣ |
| Cancel Action | ⎋ |
| Settings | ⌘, |
Window 3
| Action | Shortcut |
|---|---|
| Maximize Editor | ⌘⇧M |
| Undock Editor | ⌃⇧U |
| Dock Editor | ⌃⇧D |
Code Folding 1
| Action | Shortcut |
|---|---|
| Collapse Fold | ⌃⇧. |
Sourced from mathworks.com Last verified
Unofficial reference. ShortcutPosters is not affiliated with, endorsed by, or sponsored by MATLAB. All product names, logos, and trademarks are property of their respective owners. See our licensing & trademark notice.
Get the MATLAB poster
4 art directions — pick one below, click to zoom & compare.
A printable, framed-quality poster of the essential MATLAB shortcuts for Mac — the keys worth keeping in view, designed to stay readable on a wall.
Free PNG is web-resolution & watermarked.
Frequently asked questions
- Does the poster include every MATLAB shortcut?
- MATLAB has 43 keyboard shortcuts on macOS — the complete list is free to read on this page. The poster features the most essential ones, curated to stay readable on a wall.
- Can I print it at home?
- Yes. The digital download is a high-resolution 300 DPI file you can print at home or at any print shop, in standard frame sizes.
- Does it cover both Mac and Windows?
- We sell a separate edition per platform so every key matches your keyboard exactly. This page is the macOS edition.
- Is this an official MATLAB product?
- No. This is an unofficial reference poster and is not affiliated with or endorsed by MATLAB. All trademarks belong to their respective owners.
Thanks — your feedback helps us improve.
Promote your app
Built an app with great keyboard shortcuts? Get it into the database — a free, searchable reference page, and an optional printable poster your power users will pin to the wall.
- Free shortcut reference page
- Indexed & searchable
- Optional framed poster