Path: news.mathworks.com!not-for-mail
From: "Todd Welti" <twelti@harman.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Diary quirkyness
Date: Thu, 12 Mar 2009 17:20:22 +0000 (UTC)
Organization: Harman Industries International
Lines: 13
Message-ID: <gpbg8m$7lq$1@fred.mathworks.com>
References: <gp9j86$i4r$1@fred.mathworks.com> <43679d96-bbe2-4432-973b-673b2a88d7e3@e38g2000yqa.googlegroups.com>
Reply-To: "Todd Welti" <twelti@harman.com>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1236878422 7866 172.30.248.37 (12 Mar 2009 17:20:22 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 12 Mar 2009 17:20:22 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 57524
Xref: news.mathworks.com comp.soft-sys.matlab:524387


Rune Allnor <allnor@tele.ntnu.no> wrote in message <43679d96-bbe2-4432-973b-673b2a88d7e3@e38g2000yqa.googlegroups.com>...
> On 12 Mar, 00:59, "Todd Welti" <twe...@harman.com> wrote:
> > I have some code that uses "diary" near the start to make a log file.
> 
> You should be a bit carful about this. Things might have
> changed since then, but ten years ago, DIARY logged what
> went on in the command window. So anything that was not
> entered or displayed in the command window (like using F5
> to run a program from the editor window) was just missing
> from the diary file.
> 
> Rune
I tried to account for this by controlling the diary entry in the m file code itself (deleting existing diary file, starting new one and stopping diary at the end of the m file) .  But your point is still well taken.