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

31 Ansichten (letzte 30 Tage)
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

Akzeptierte Antwort

Shivaputra Narke
Shivaputra Narke am 4 Feb. 2014
Hi, I think following path will definitely solves your problem, Matlab->File->Preferences->Editor/Debugger->Display->Language then check comment formatting
  1 Kommentar
Eddie
Eddie am 4 Feb. 2014
You are correct! Yes, I went to Display instead of Language last time. The field "Maximum column width" does the trick!
Thanks

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (2)

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

Eddie
Eddie am 4 Feb. 2014
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

Kategorien

Mehr zu Environment and Settings finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by