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

1 Ansicht (letzte 30 Tage)
Nuchto
Nuchto am 14 Jul. 2013
Kommentiert: Walter Roberson am 27 Jul. 2018
It used to be shift+CMD+/, but now this is for HELP. And I can't seem to find this. Anyone help! :)

Akzeptierte Antwort

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

Weitere Antworten (3)

Azzi Abdelmalek
Azzi Abdelmalek am 14 Jul. 2013
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 Kommentare
Azzi Abdelmalek
Azzi Abdelmalek am 14 Jul. 2013
Select the lines you want to comment, right click on the selection, you will see comment and its shortcut
Nuchto
Nuchto am 14 Jul. 2013
Bearbeitet: Nuchto am 14 Jul. 2013
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.

Melden Sie sich an, um zu kommentieren.


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

Melden Sie sich an, um zu kommentieren.


Ali Omar
Ali Omar am 4 Mai 2015
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 Kommentare
Monty Dodge
Monty Dodge am 14 Apr. 2016
On the mac version, the shortcut for commenting is command + /
seng sok
seng sok am 24 Apr. 2016
Thanks!!

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Entering Commands finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by