Commenting problems on ubuntu

I just installed matlab on ubuntu on a 64 bit linux workstation.
I am having problems with commenting. See the attached figure.
SEveral of the problems I am encountering so far: 1) The commented segment isn't highlighted in a different color as usual 2) When I right click some lines I want to comment, the "comment" feature is greyed out, as if it was disabled. Also the hotkey does not work for commenting (Yes, I am using the correct hotkey). I have to manually type in the percent sign % to comment something.
Any idea what the problem could be?

回答(1 个)

Steven Lord
Steven Lord 2016-1-25

0 个投票

What's the extension on the file that you're trying to comment? Is it .m (lower-case M)?

类别

帮助中心File Exchange 中查找有关 File Operations 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by