Save disp output as a string/cell variable
Mostra commenti meno recenti
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?
Risposta accettata
Più risposte (2)
Jan
il 28 Lug 2021
Since Matlab R2021a:
str = formattedDisplayText(x)
Manish Vankudre
il 13 Mar 2018
0 voti
Can you please give an example an explain
Categorie
Scopri di più su Variables in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!