Shortcut set for "evaluate selection" not working / responding in Matlab 2022b Update 4

14 views (last 30 days)
I got o Preferences > Keyboard > Shortcuts and modify the shortcut for 'Evaluate Selection' to e.g., command + <.
However, after accepting changes, selecting code in the editor or command window and pressing command + < (or any other attempted shortcut) won't work.
Any help would be welcome, thank you.

Answers (1)

Jayanti
Jayanti on 20 Sep 2024
Edited: Jayanti on 20 Sep 2024
Since you mentioned "command+ <" as your shortcut key for evaluate selection, I am assuming you are working on mac platform. Here are some workarounds you can try:
  • Check if the standard function key option is enabled:
Apple option -> System preferences -> Click keyboard and mouse -> Keyboard ->
Use all F1, F2, etc. keys as standard function keys.
  • Try using the function key in the shortcut. For example, press Shift-Function-F1 instead of Shift-F1 to evaluate.
  • If you are facing this issue in a live script and have a function m-file open .Close function m-file and open only live script.

Categories

Find more on Desktop in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!