MATLAB Shortcuts

Development·31 shortcuts·5 sections·Also on: macOS

File6

New scriptCtrlN
Open fileCtrlO
Save current fileCtrlS
Save asCtrlShiftS
Close current documentCtrlW
PrintCtrlP

Editing11

UndoCtrlZ
RedoCtrlY
CutCtrlX
CopyCtrlC
PasteCtrlV
Select allCtrlA
Comment linesCtrlR
Uncomment linesCtrlT
Increase indentCtrl]
Decrease indentCtrl[
Smart indent (auto-format)CtrlI

Running and Debugging7

Run current scriptF5
Run selected sectionF9
Step overF10
Step intoF11
Step outShiftF11
Set/clear breakpointF12
Stop debuggingShiftF5

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