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! :)

 Réponse acceptée

Image Analyst
Image Analyst le 14 Juil 2013

1 vote

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

Plus de réponses (3)

Azzi Abdelmalek
Azzi Abdelmalek le 14 Juil 2013

2 votes

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 commentaires

Nuchto
Nuchto le 14 Juil 2013
You are a Windows user, right? :) I work on a mac.
EXACT
Nuchto
Nuchto le 14 Juil 2013
Hopefully there is a MAC user that can help me with this.
Select the lines you want to comment, right click on the selection, you will see comment and its shortcut
Nuchto
Nuchto le 14 Juil 2013
Modifié(e) : Nuchto le 14 Juil 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.

Connectez-vous pour commenter.

Michel Schneider
Michel Schneider le 27 Juil 2018

1 vote

If you are a MAC user, you have to push the following buttons for comments:
'cmd' + ' - '

1 commentaire

I just tried on Mac, and that did not do anything for me, but the cmd-/ mentioned before worked fine.

Connectez-vous pour commenter.

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 commentaires

On the mac version, the shortcut for commenting is command + /
seng sok
seng sok le 24 Avr 2016
Thanks!!

Connectez-vous pour commenter.

Catégories

En savoir plus sur Environment and Settings dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by