diary not saving all command window output

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

Respuestas (2)

Image Analyst
Image Analyst el 29 de Ag. de 2014

0 votos

The exceptions are listed in the "Tips" section of the help, like the help says.
g
g el 29 de Ag. de 2014

0 votos

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

Categorías

Más información sobre Entering Commands en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

g
g
el 28 de Ag. de 2014

Respondida:

g
g
el 29 de Ag. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by