Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: debug startup error
Date: Fri, 25 Jul 2008 14:50:18 +0000 (UTC)
Organization: Ford Motor Co
Lines: 48
Message-ID: <g6cp7a$bp0$1@fred.mathworks.com>
References: <g6ce32$a86$1@fred.mathworks.com> <g6cidb$pbc$1@fred.mathworks.com> <g6cip3$r6$1@fred.mathworks.com> <g6cnpq$hlp$1@fred.mathworks.com>
Reply-To: <HIDDEN>
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 1216997418 12064 172.30.248.37 (25 Jul 2008 14:50:18 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 25 Jul 2008 14:50:18 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 35831
Xref: news.mathworks.com comp.soft-sys.matlab:481835



Is your Matlab command window still up? Would lasterr() 
provide some extra info? Otherwise, I have no other ideas. 
The error seems pretty serious. Do you recall anything you 
did recently that could corrupt some files related to 
Matlab?


"Yi Cao" <y.cao@cranfield.ac.uk> wrote in message 
<g6cnpq$hlp$1@fred.mathworks.com>...
> Thanks for reply. I have checked all files in the 
> toolbox\local folder including pathdef.m and matlabrc.m. 
> Nothing is wrong there. Any other place I should check?
> 
> Yi Cao
> 
> 
> "Fangjun Jiang" <f@j.com> wrote in message <g6cip3$r6
> $1@fred.mathworks.com>...
> > Also, I don't know if your Matlab command window still 
> > opens up. Another file to look into is matlabrc.m, 
which 
> > is related to the Matlab startup.
> > 
> > "Fangjun Jiang" <f@j.com> wrote in message 
> > <g6cidb$pbc$1@fred.mathworks.com>...
> > > You might also check pathdef.m to see if there is 
any 
> > > corruption.
> > > 
> > > "Yi Cao" <y.cao@cranfield.ac.uk> wrote in message 
> <g6ce32
> > > $a86$1@fred.mathworks.com>...
> > > > my Matlab reports an error at startup, 
> > > > "[Fatal Error] :-1:-1: Premature end of file."
> > > > 
> > > > I have removed user defined startup.m file. But 
the 
> > > error 
> > > > still comes up. Anyone knows how to debug such an 
> > error?
> > > > 
> > > > Thank for help.
> > > > 
> > > > Yi Cao
> > > 
> > 
>