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

조회 수: 15 (최근 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
  댓글 수: 1
Eddie
Eddie 2014년 2월 4일
You are correct! Yes, I went to Display instead of Language last time. The field "Maximum column width" does the trick!
Thanks

댓글을 달려면 로그인하십시오.

추가 답변 (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