Info
此问题已关闭。 请重新打开它进行编辑或回答。
Logging of a calculation process as a .txt file
1 次查看(过去 30 天)
显示 更早的评论
Hi guys
I am running a long calculation process which sometimes outputs a string, using disp(), in order for the user to keep track of how the process is running. I would like to save these strings continuously to a single .txt file for later reference. I.e.: something like:
[Time] Process started
[Time] Process at 10%
[Time] Subroutine successfully initiated
etc...
How would I best go about doing this?
Thanks in advance
0 个评论
回答(1 个)
per isakson
2012-8-4
编辑:per isakson
2012-8-4
This FEX contribution might help:
or this one
or a last one
1 个评论
Andrew Janke
2020-1-31
One more to add to your list:
SLF4M - A simple logging framework for Matlab
Full disclosure: This is my own library. But I think it's nicer and more powerful than the existing alternatives.
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!