How to Wrap Code in matlab editor in matlab2018b

조회 수: 103 (최근 30일)
Apurv Singh
Apurv Singh 2020년 4월 16일
편집: Andrew Bridgman 2021년 3월 25일
How to Wrap code in matab editor for matlab 2018b.
i was able to find option for folding comment but not for code.
  댓글 수: 1
Walter Roberson
Walter Roberson 2020년 4월 16일
Mathworks does not provide a facility for that.
Perhaps someone has written code for that; I believe it should be possible, but I do not at the moment recall seeing code for that posted.
It can be a bit tricky to figure out whether you are inside a quoted string at any point (because if you are, you cannot wrap without it being a nuisance of string concatenation), but I seem to remember not long ago Jan indicated he had code for that.

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

채택된 답변

Deanna Yancey
Deanna Yancey 2020년 11월 9일
편집: Walter Roberson 2020년 11월 9일
  댓글 수: 3
Apurv Singh
Apurv Singh 2020년 11월 23일
Thank you both for suggestions
Andrew Bridgman
Andrew Bridgman 2021년 3월 25일
편집: Andrew Bridgman 2021년 3월 25일
Ideally there should be an option to "visually" wrap around. So the code isn't actually wrapped using "..." as mentioned in another comment here. Just so all your code is in the width of your screen. This would be really good feature for faster coding.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by