MATLAB Answers

How do I Ctrl-R on Mac?

조회 수: 10(최근 30일)
Katy Soto
Katy Soto 16 Jan 2020
답변: Steven Lord 17 Jan 2020
Does anyone know how to use the Ctrl-R shortcut that comments a block of code in one go on MacOS? I've tried Cmd-R but that doesn't work. If anyone has any suggestions it would be very much appreciated.
Thank you.

  댓글 수: 0

로그인 to comment.

채택된 답변

Geoff Hayes
Geoff Hayes 16 Jan 2020
Katy - on my version of MATLAB (on a Mac), I can comment a block of code with Cmd /. (Note that Cmd T uncomments the block of code.)

  댓글 수: 1

Katy Soto
Katy Soto 16 Jan 2020
That did the trick. Thank you very much!

로그인 to comment.

추가 답변(1개)

Steven Lord
Steven Lord 17 Jan 2020
FYI to search for or customize the keyboard shortcuts, see the Keyboard preferences as described on this documentation page. Searching for "comment" will find you the correct action and show you its shortcut.

  댓글 수: 0

로그인 to comment.

이 질문에 답변하려면 로그인을(를) 수행하십시오.


Translated by