I want to record the log of my matlab code output. Because my matlab code is a little complex, I want to check whether my code is right or wrong through the log.
It may be the same as "log4j" in java.
I can't find the way to record the log in matlab. If anybody can give me some advices, I will be very appreciated.
Do you mean the DIARY command?
diary on
will log all the command window input and output to a log file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With