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

12 ビュー (過去 30 日間)
MathWorks Support Team
MathWorks Support Team 2019 年 11 月 5 日
編集済み: MathWorks Support Team 2024 年 3 月 31 日 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.

採用された回答

MathWorks Support Team
MathWorks Support Team 2024 年 3 月 31 日 0:00
編集済み: MathWorks Support Team 2024 年 3 月 31 日 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 件)

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by