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

12 vues (au cours des 30 derniers jours)
MathWorks Support Team
MathWorks Support Team le 5 Nov 2019
Modifié(e) : MathWorks Support Team le 31 Mar 2024 à 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.

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 31 Mar 2024 à 0:00
Modifié(e) : MathWorks Support Team le 31 Mar 2024 à 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:

Plus de réponses (0)

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by