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 ExchangeEnvironment and Settings についてさらに検索

質問済み:

2016 年 1 月 25 日

回答済み:

2016 年 1 月 25 日

Community Treasure Hunt

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

Start Hunting!

Translated by