How do I publish my Command Window output to a report?

11 次查看(过去 30 天)
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.

采纳的回答

MathWorks Support Team
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 个)

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by