MATLAB Shortcuts
File6
| New script | CtrlN |
| Open file | CtrlO |
| Save current file | CtrlS |
| Save as | CtrlShiftS |
| Close current document | CtrlW |
| CtrlP |
Editing11
| Undo | CtrlZ |
| Redo | CtrlY |
| Cut | CtrlX |
| Copy | CtrlC |
| Paste | CtrlV |
| Select all | CtrlA |
| Comment lines | CtrlR |
| Uncomment lines | CtrlT |
| Increase indent | Ctrl] |
| Decrease indent | Ctrl[ |
| Smart indent (auto-format) | CtrlI |
Running and Debugging7
| Run current script | F5 |
| Run selected section | F9 |
| Step over | F10 |
| Step into | F11 |
| Step out | ShiftF11 |
| Set/clear breakpoint | F12 |
| Stop debugging | ShiftF5 |
Command Window2
| Recall previous command | ↑ |
| Recall next command | ↓ |
Access MATLAB shortcuts from your menu bar
KeyShortcut detects the active app and shows its shortcuts instantly. No memorization needed.
New scriptCtrlN
Open fileCtrlO
Save current fileCtrlS