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

답변 (2개)

Image Analyst
Image Analyst 2014년 8월 29일

0 개 추천

The exceptions are listed in the "Tips" section of the help, like the help says.
g
g 2014년 8월 29일

0 개 추천

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

카테고리

도움말 센터File Exchange에서 Entering Commands에 대해 자세히 알아보기

태그

질문:

g
g
2014년 8월 28일

답변:

g
g
2014년 8월 29일

Community Treasure Hunt

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

Start Hunting!

Translated by