| MATLAB Central > MATLAB Newsreader > Diary quirkyness |
|
|
|
I have some code that uses "diary" near the start to make a log file. I had checked it early on and it seemed to work fine. now though i notice that sometimes the file is empty, if the code encounters errors and quits. Does diary wait until its associated mfile is finished to write to the diary file? I tested this by putting in a breakpoint after the diary file was created and some text was displayed in the console, but before the main mfile had finished. i saw the diary .txt file, but nothing in it. perhaps it slows down execution if each text line in the console is written to the diary file realitme. Perhaps there is a buffer...? |
|
|
|
On 12 Mar, 00:59, "Todd Welti" <twe...@harman.com> wrote: |
|
Rune Allnor <allnor@tele.ntnu.no> wrote in message <43679d96-bbe2-4432-973b-673b2a88d7e3@e38g2000yqa.googlegroups.com>... |
|
On 12 Mar, 18:20, "Todd Welti" <twe...@harman.com> wrote: |
|
Rune Allnor <allnor@tele.ntnu.no> wrote in message <8fee2080-cde5-4ee6-a973-702c23c4ab0e@h20g2000yqn.googlegroups.com>... |
|
|
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.
| Tag Activity for This Thread | ||
|---|---|---|
| Tag | Applied By | Date/Time |
| diary | Tom | 21 Mar, 2011 15:54:14 |
| diary log file | Todd Welti | 11 Mar, 2009 20:00:26 |
Contact us at files@mathworks.com
