How to Wrap Code in matlab editor in matlab2018b
107 次查看(过去 30 天)
显示 更早的评论
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
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
2020-11-9
编辑:Walter Roberson
2020-11-9
The article I attached explains what I think you are asking.
3 个评论
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 Exchange 中查找有关 Startup and Shutdown 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!