How can I save the output of display in a string

8 visualizzazioni (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)

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by