Skip to content
iTecTec
  • Tools
    • ARFCN-Frequency Converter
  • Contact Us

MATLAB: How to execute a single line in the editor/debugger

debuggereditorkey mappingmac

Highlighting and hitting F9 does not work on my iMac keyboard. I run version 2020a.

Best Answer

  • On mac the default shortcut is: Shift + fn + F7
  • Related Question
    • Assign hotkey to custom shortcut
    • Is it possible to add line numbers to MATLAB Editor/Debugger
    • Mac debug keyboard shortcuts
    • Does MATLAB hang or return a NullPointer exception while trying to save a file in the MATLAB Editor/Debugger
    • Am I unable to see a complete filename in the document bar in the MATLAB 7.0 (R14) Editor/Debugger
    • How to sort the files within the “File->Save As” dialog box in the MATLAB 7.0 (R14) Editor/Debugger
    • Am I unable to switch between files which are open in the MATLAB 7.0 (R14) Editor/Debugger, using the Ctrl+Tab keyboard shortcut
    • Assign a custom shortcut to keyboard-shortcut