Saving the command window to file
Show older comments
I have written a script that runs a few calculations and displays some results in the command window, mostly by using the disp function but also partly by using the fprintf function. It would be better if I could save all these results to a file (ideally pdf or something that could be converted to pdf). Is there a simple way to modify my script to do this? I have 2 figures that this script plots that I would like to keep separate.
Accepted Answer
More Answers (0)
Categories
Find more on Printing and Saving in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!