Save disp output as a string/cell variable
Mostrar comentarios más antiguos
The command disp(x) does a reasonable job of displaying variables of any class. For example, it expands structures to show their fields and values. Is it possible to capture this formatted output as a variable?
Respuesta aceptada
Más respuestas (2)
Jan
el 28 de Jul. de 2021
Since Matlab R2021a:
str = formattedDisplayText(x)
Manish Vankudre
el 13 de Mzo. de 2018
0 votos
Can you please give an example an explain
Categorías
Más información sobre Variables en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!