Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Logging of a calculation process as a .txt file

2 vues (au cours des 30 derniers jours)
Jakob Sievers
Jakob Sievers le 4 Août 2012
Clôturé : MATLAB Answer Bot le 20 Août 2021
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

Réponses (1)

per isakson
per isakson le 4 Août 2012
Modifié(e) : per isakson le 4 Août 2012
  1 commentaire
Andrew Janke
Andrew Janke le 31 Jan 2020
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.

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by