How to save the command window output?

77 views (last 30 days)
I am executing a bunch of scripts, and these scripts produce a large number of results. I do not want to lose the output. How do I save the command window output when needed?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 3 May 2017
Use the "diary" function to save the Command Window text to a file. The documentation for this function can be found at the following location:

More Answers (0)

Categories

Find more on Entering Commands in Help Center and File Exchange

Tags

Products


Release

R2016a

Community Treasure Hunt

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

Start Hunting!