How can I save the output of display in a string

1 次查看(过去 30 天)
I would like to do:
displaystring = display(obj);

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by