How to Wrap Code in matlab editor in matlab2018b

103 visualizaciones (últimos 30 días)
Apurv Singh
Apurv Singh el 16 de Abr. de 2020
Editada: Andrew Bridgman el 25 de Mzo. de 2021
How to Wrap code in matab editor for matlab 2018b.
i was able to find option for folding comment but not for code.
  1 comentario
Walter Roberson
Walter Roberson el 16 de Abr. de 2020
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.

Iniciar sesión para comentar.

Respuesta aceptada

Deanna Yancey
Deanna Yancey el 9 de Nov. de 2020
Editada: Walter Roberson el 9 de Nov. de 2020
  3 comentarios
Apurv Singh
Apurv Singh el 23 de Nov. de 2020
Thank you both for suggestions
Andrew Bridgman
Andrew Bridgman el 25 de Mzo. de 2021
Editada: Andrew Bridgman el 25 de Mzo. de 2021
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.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by