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

34 次查看(过去 30 天)
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.

回答(1 个)

Jayanti
Jayanti 2024-9-20,9:29
编辑:Jayanti 2024-9-20,9:31
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.

类别

Help CenterFile Exchange 中查找有关 Desktop 的更多信息

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by