Path: news.mathworks.com!not-for-mail
From: "Croydon Dias" <twistadias@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Installing 2007A on Vista
Date: Tue, 31 Jul 2007 12:26:08 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 24
Message-ID: <f8n9p0$4l8$1@fred.mathworks.com>
References: <kmog03h70lvnchfhpa965s1lp33pe3hedv@4ax.com> <ef51c94.0@webcrossing.raydaftYaTP> <ef51c94.1@webcrossing.raydaftYaTP> <ef51c94.2@webcrossing.raydaftYaTP> <ef51c94.3@webcrossing.raydaftYaTP> <f8me7r$hn7$1@fred.mathworks.com> <f8mo8m$g0f$1@fred.mathworks.com>
Reply-To: "Croydon Dias" <twistadias@gmail.com>
NNTP-Posting-Host: webapp-00-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1185884768 4776 172.30.248.35 (31 Jul 2007 12:26:08 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 31 Jul 2007 12:26:08 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1070174
Xref: news.mathworks.com comp.soft-sys.matlab:421844


OMG thank you so much. I was having this problem in vista ealier today and i got so pissed off that i actually replaced it with xp only to get the same damn error.
Thank you so much, you saved me from going insane.

This post should be a sticky or should be put up on the homepage.




> To resolve this issue, you must specify a direct folder for MATLAB to
> start in. To do this, open the file $MATLAB\toolbox\local\userpath.m
> (where $MATLAB is the R2007a root folder) with a text editor.
> Replace line 13 and 16 that has:
> 
> %%%BEGIN CODE%%%
> rc p] = dos('startdir $documents\MATLAB -a'); %%%END CODE%%%
> 
> with an actual directory such as C:\MATLAB\R2007a\work
> 
> %%%BEGIN CODE%%%
> rc p] = dos('startdir C:\MATLAB\R2007a\work'); %%%END CODE%%%
> 
> Once you save the file and restart MATLAB, it should not hang at the
> intialization phase.