Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a shortcut key to comment multiple lines in matlab editor

Tags:

editor

matlab

Is there a shortcut to comment multiple lines in matlab. If there isn't can I create one?

like image 734
Saeid Avatar asked Jun 18 '15 21:06

Saeid


1 Answers

The comment shortcut is CTRL+R on Windows and CTRL+/ on Unix systems (not sure about OS X). To comment multiple lines you'd have to highlight them using the mouse or SHIFT.

In any case this can be customized via Preferences -> Keyboard -> Shortcuts.

like image 82
Setsu Avatar answered Oct 13 '22 00:10

Setsu