How can I execute a single line in the editor/debugger?

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

1 Comment

Highlighting is another time taking step, would have preferred if matlab could enable something shortcut to perform this task without making highlight.

Sign in to comment.

 Accepted Answer

On mac the default shortcut is: Shift + fn + F7

4 Comments

Thanks!! This combination of keys is very awkward. Would you know how to map it to a single keystroke?
You can change the key combination. Open preferences, from toolbar or run
preferences
and then go to keyboard > Shortcuts and search for "Evaluate selection".
I am glad to be of help!

Sign in to comment.

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!