How to save command window history
2 ビュー (過去 30 日間)
古いコメントを表示
Hi,
I put diary(inputpath,'\out.log'), but my diary is on in the begening, and end after end of code. But if my code terminates (due to some error) I can not geet and log. Can I get the log even if the code (or simulation) terminates in the middle. Can any one help me on this.
Many thanks in advance.
0 件のコメント
回答 (1 件)
Image Analyst
2016 年 10 月 29 日
You should be able to type
>> diary off
but better is to just use try/catch in your code to handle any possible errors so that your code does not bomb but exits in a controlled and graceful manner.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Acquisition Using Image Acquisition Explorer についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!