Where is the short-cut in Matlab 2013a to comment?

4 次查看(过去 30 天)
It used to be shift+CMD+/, but now this is for HELP. And I can't seem to find this. Anyone help! :)

采纳的回答

Image Analyst
Image Analyst 2013-7-14
Go to Preferences -> Keyboard -> Shortcuts. Then type in whatever shortcut you want to comment lines. I think command-R should work though.

更多回答(3 个)

Azzi Abdelmalek
Azzi Abdelmalek 2013-7-14
I 'am not sure if that's what you are asking for, If you want to make multiple lines as comment, select those line then click on CTRL+R
  5 个评论
Azzi Abdelmalek
Azzi Abdelmalek 2013-7-14
Select the lines you want to comment, right click on the selection, you will see comment and its shortcut
Nuchto
Nuchto 2013-7-14
编辑:Nuchto 2013-7-14
Of course I have done that, therefore I know the shortcut is the one above, but it wont work!! When I used the mentioned shortcut it will open the help.

请先登录,再进行评论。


Michel Schneider
Michel Schneider 2018-7-27
If you are a MAC user, you have to push the following buttons for comments:
'cmd' + ' - '
  1 个评论
Walter Roberson
Walter Roberson 2018-7-27
I just tried on Mac, and that did not do anything for me, but the cmd-/ mentioned before worked fine.

请先登录,再进行评论。


Ali Omar
Ali Omar 2015-5-4
Default on unix systems is Ctrl + /
However, this can be changed. Run
preferences
MATLAB -> Keyboard -> Shortcuts.
Change individual or full set from the top drop down menu

类别

Help CenterFile Exchange 中查找有关 Environment and Settings 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by