diary not saving all command window output

3 views (last 30 days)
g
g on 28 Aug 2014
Answered: g on 29 Aug 2014
Hi, Are there certain output messages to the command window which "diary" does not save? Are there other redirect to file commands to cover these cases? Thx in advance for any pointers

Answers (2)

Image Analyst
Image Analyst on 29 Aug 2014
The exceptions are listed in the "Tips" section of the help, like the help says.

g
g on 29 Aug 2014
Oh, I was not clear -- 'diary' is not saving text output from an external function call (not graphics or differences in formatting). There is a cascade of calls to 3rd party functions in my process so was hoping that there was a Matlab function that will force dump what I see in the command window into a file because 'diary' does not seem to do it, not even output from 'disp' or even fprintf with fileID specified, which usually works for me, so I guess somewhere in the chain of calls, diary is being toggled off. Is there maybe a command that will output what's already printed to the command window after the process is finished? ...although that doesn't help when Matlab crashes.... Thanks

Categories

Find more on Entering Commands in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!