How do I publish my Command Window output to a report?
12 views (last 30 days)
Show older comments
MathWorks Support Team
on 5 Nov 2019
Edited: MathWorks Support Team
on 31 Mar 2024 at 21:01
Can you help me figure out how to direct my command window output into the report? I basically want the output of the current run to be printed to the report.
Accepted Answer
MathWorks Support Team
on 31 Mar 2024 at 0:00
Edited: MathWorks Support Team
on 31 Mar 2024 at 21:01
To capture output from the MATLAB Command Window, use the "evalc" function:
You can then put your saved output as a Paragraph object and "append" that to your Report:
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!