Path: news.mathworks.com!not-for-mail
From: "Sadik " <sadik.hava@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Phantom code appears in diary!
Date: Mon, 6 Sep 2010 17:27:05 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 7
Message-ID: <i63899$sgr$1@fred.mathworks.com>
References: <i6318a$22k$1@fred.mathworks.com> <i6363t$bc2$1@fred.mathworks.com>
Reply-To: "Sadik " <sadik.hava@gmail.com>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1283794025 29211 172.30.248.35 (6 Sep 2010 17:27:05 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 6 Sep 2010 17:27:05 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1666517
Xref: news.mathworks.com comp.soft-sys.matlab:668000

By the way, I have just realized that you are saying it doesn't appear in any of your files. Then you should make sure that you are using the right versions of your files. You might have two files with identical name but in different folders. If one is preceding the other in the matlab path, you might be running the one which you didn't mean to.

How to check that?

You can use the "which" command. It will tell you the full path of the file it is using. If you use the option "all", you can directly see if you have more than one file with the same name. You had better do this check for all of your files that you're running.

Best.