Matlab editor - how do I change where the editor automatically enters carriage return

30 次查看(过去 30 天)
Hi
2011b This should be simple, but I cant find where I change the number of columns the matlab editor uses to trigger the auto-carriage return insertion when typing comments.
Cheers2u

采纳的回答

Shivaputra Narke
Shivaputra Narke 2014-2-4
Hi, I think following path will definitely solves your problem, Matlab->File->Preferences->Editor/Debugger->Display->Language then check comment formatting

更多回答(2 个)

Shivaputra Narke
Shivaputra Narke 2014-2-3
You can set limit at following path Goto Matlab->File->Preferences->Editor/Debugger->Display

Eddie
Eddie 2014-2-4
Hi Shivaputra
I went to Matlab->File->Preferences->Editor/Debugger->Display and I set the "right hand text limit" to 95, but matlab still inserts a CR at 76. When I checkbox the "show line", its definitely out there at line 95, yet text still wraps at 76.
Thanks for the suggestion.
Cheers

类别

Help CenterFile Exchange 中查找有关 Environment and Settings 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by