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 ExchangeEntering 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