How can I save the output of display in a string

1 visualizzazione (ultimi 30 giorni)
I would like to do:
displaystring = display(obj);

Risposta accettata

Aaditya Kalsi
Aaditya Kalsi il 12 Apr 2014
You can do this with EVALC (<http://www.mathworks.com/help/matlab/ref/evalc.html>)
displaystring = evalc('display(obj)');

Più risposte (0)

Categorie

Scopri di più su MATLAB in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by