필터 지우기
필터 지우기

Unable to use CTRL+R to comment

조회 수: 83 (최근 30일)
Unix Izyah Arfianti
Unix Izyah Arfianti 2020년 9월 17일
댓글: Steven Lord 2021년 7월 13일
Is there anyone knows how to enable CTRL+R to comment?

답변 (1개)

Steven Lord
Steven Lord 2020년 9월 17일
Open the Preferences using the button in the Enviroment section on the Home tab of the Toolstrip. In the MATLAB section of the preferences expand Keyboard and click on the Shortcuts sub-item. Search for action name "Comment" to see the shortcut that is currently enabled to perform that action. If Ctrl-R is not listed, I'm guessing you're using either Emacs or Mac shortcuts. You could customize that one action's shortcut or change the whole set to "Windows Default Set".
See this documentation page for more information.
  댓글 수: 5
Matthew Foreman
Matthew Foreman 2021년 7월 13일
Did you ever figure this out? I am having the same issue. Ctrl + R won't register in the keyboard mapping preferences screen.
Steven Lord
Steven Lord 2021년 7월 13일
I wonder if some other application is intercepting the Ctrl+R combination before it reaches MATLAB. For example you couldn't set a keyboard shortcut to Ctrl+Alt+Delete in MATLAB because Windows says "No, that's for me." and takes care of the combination before MATLAB can learn that those keys were pressed.
Maybe some sort of screen capture program? Unfortunately without knowing what applications you have, testing this hypothesis could be a challenge. Does anything happen on the computer, even outside MATLAB, when you press Ctrl+R?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Environment and Settings에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by