Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to record the log in matlab when I debug?

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.

like image 800
Taylor Avatar asked Dec 07 '12 05:12

Taylor


1 Answers

Do you mean the DIARY command?

diary on

will log all the command window input and output to a log file.

like image 74
Jonas Avatar answered Sep 19 '22 06:09

Jonas