How to Wrap Code in matlab editor in matlab2018b

107 ビュー (過去 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 Center および File ExchangeStartup and Shutdown についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by