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

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 日

1 投票

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 日

2 投票

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 件のコメント

Nuchto
Nuchto 2013 年 7 月 14 日
You are a Windows user, right? :) I work on a mac.
Azzi Abdelmalek
Azzi Abdelmalek 2013 年 7 月 14 日
EXACT
Nuchto
Nuchto 2013 年 7 月 14 日
Hopefully there is a MAC user that can help me with this.
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 日

1 投票

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 日

0 投票

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

2 件のコメント

Monty Dodge
Monty Dodge 2016 年 4 月 14 日
On the mac version, the shortcut for commenting is command + /
seng sok
seng sok 2016 年 4 月 24 日
Thanks!!

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeEntering Commands についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by