Is there a shortcut to comment multiple lines in matlab. If there isn't can I create one?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With