Display output in a separate window in MATLAB
Show older comments
At the end of the execution of my program in MATLAB, the results, stored in a variable are being displayed in the command window. How to display the contents of a variable on to a different window?
Thanks!
1 Comment
Answers (1)
Walter Roberson
on 13 May 2017
0 votes
evalc() the routine that produces the output, and store the result in a variable. Then display the content of the variable in the other window.
Note: when you evalc() a routine, no output will be produced until the end of the routine.
Categories
Find more on MATLAB Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!