I'm having trouble with my shiny new Matlab 2007a on my shiny new
ThinkPad running shiny new Vista. After installation and start up,
Matlab hangs with a message "initializing." In the unlikely event it
matters, the install was done over a network drive because the
ThinkPad doesn't have a DVD drive.
I found when I use kaspersky as my virus scan software, matlab 2007a
is very slow on starting.
Then I add matlab.exe in the trusted zone of kaspersky 6.0. and matlab
2007a can startup as fast as normal.
On Mar 27, 8:21 am, richardsta...@comcast.net wrote:
> I'm having trouble with my shiny new Matlab2007aon my shiny new
> ThinkPad running shiny new Vista. After installation and start up,
> Matlab hangs with a message "initializing." In the unlikely event it
> matters, the install was done over a network drive because the
> ThinkPad doesn't have a DVD drive.
>
> Any advice?
> -Dick Startz
I get this too. I've found a way out is to "control-c".
There is then the message:
Error in ==> matlabrc at 34
matlabpath(pathdef);
Also the command "pathtool" doesn't work!
richardstartz wrote:
>
>
> I'm having trouble with my shiny new Matlab 2007a on my shiny new
> ThinkPad running shiny new Vista. After installation and start up,
> Matlab hangs with a message "initializing." In the unlikely event
> it
> matters, the install was done over a network drive because the
> ThinkPad doesn't have a DVD drive.
>
> Any advice?
> -Dick Startz
>
Will Reeves wrote:
>
>
> OK,
>
> So it's fairly serious! the switches -nojvm and -nodesktop when
> starting matlab make no difference and I end up with a blank
> window...
>
> I don't think any of the paths are set so none of the functions are
> available even "figure"!
I would have to ask why use something as unproven as Vista? You
should be able to pick up a licence for Win2k or XP cheapish and dual
boot if you reeealy want to keep Vista on your system. The amount of
system resources you free up should be a decent reason to avoid Vista
too.
It's not just Vista, I get the same hang on initialization under XP
SP2.
See Solution Number: 1-424AAV
But my solution is a simpler patch for now. I made a shortcut that
simply executes:
restoredefaultpath;
matlabrc
which I found in the comments of the matlabrc mfile. So I simply
ctrl-c the hung initialization and then hit the shortcut button for
full startup initialization.
Thanks, but I already have a macpro with triple boot OSX, XP Pro and
Vista. I could install XP x64 (as I need to access more than 2GB
RAM) but thought I'd try vista! I guess it will become the standard
platform in the reasonably near future...
M wrote:
> I would have to ask why use something as unproven as Vista? You
> should be able to pick up a licence for Win2k or XP cheapish and
> dual
> boot if you reeealy want to keep Vista on your system. The amount
> of
> system resources you free up should be a decent reason to avoid
> Vista
> too.
>
> - M
i can run the iris recognition program, but i can only show the
edgemap, gradient...can anyone tell me how to get the hough transform
image??
thanks!
Will Reeves wrote:
>
>
> Thanks, but I already have a macpro with triple boot OSX, XP Pro
> and
> Vista. I could install XP x64 (as I need to access more than 2GB
> RAM) but thought I'd try vista! I guess it will become the
> standard
> platform in the reasonably near future...
>
> M wrote:
>> I would have to ask why use something as unproven as Vista? You
>> should be able to pick up a licence for Win2k or XP cheapish
and
>> dual
>> boot if you reeealy want to keep Vista on your system. The
amount
>> of
>> system resources you free up should be a decent reason to avoid
>> Vista
>> too.
>>
>> - M
Works a treat! My searching through the Mathworks website needs
practice!
John Mosher wrote:
>
>
> It's not just Vista, I get the same hang on initialization under XP
> SP2.
>
> See Solution Number: 1-424AAV
>
> But my solution is a simpler patch for now. I made a shortcut that
> simply executes:
>
> restoredefaultpath;
> matlabrc
>
> which I found in the comments of the matlabrc mfile. So I simply
> ctrl-c the hung initialization and then hit the shortcut button for
> full startup initialization.
>
> Mathworks needs to fix the underlying problem.
I think I figured the problem out. I'm using Vista, and I manually installed Matlab R2007a in the folder c:\MATLAB74. When I started Matlab, it would hang on "initializing..." and after I did a ctrl-c, it still wouldn't open files.
After reading "Release noted for R2007a" where it says
"In R2007a, MATLAB creates a folder named MATLAB in your My Documents folder (Documents folder on Vista systems) and uses this folder as the default startup folder. This change was made to complement the new Vista security policy, or User Account Control (UAC). Creating files in the C:\Program Files folder requires administrator privileges."
I got the idea to uninstall Matlab and then reinstalled it in the default directory. So far, everything seems to work fine.
Hi!
I installed Matlab 2007a on windows xp yesterday. Even so Matlab created a folder in My Documents folder and uses this as the default startup folder, matlab hangs on "initializing" when I start it. And after pressing crtl-c it still doesn't open files.
"Joe " <joe@email.com> wrote in message <f7rbl0$r9b$1@fred.mathworks.com>...
> I think I figured the problem out. I'm using Vista, and I manually installed Matlab R2007a in the folder c:\MATLAB74. When I started Matlab, it would hang on "initializing..." and after I did a ctrl-c, it still wouldn't open files.
>
> After reading "Release noted for R2007a" where it says
>
> "In R2007a, MATLAB creates a folder named MATLAB in your My Documents folder (Documents folder on Vista systems) and uses this folder as the default startup folder. This change was made to complement the new Vista security policy, or User Account Control (UAC). Creating files in the C:\Program Files folder requires administrator privileges."
>
> I got the idea to uninstall Matlab and then reinstalled it in the default directory. So far, everything seems to work fine.
>
Could you please tell me the exact steps you took to get the program working
What did you add to the shortcut
My current shortcut is as follows
C:\Users\Croydon\Documents\MATLAB\bin\matlab.bat -sd $documents\MATLAB
"John Mosher" <mosher@lanl.gov> wrote in message
> See Solution Number: 1-424AAV
>
> But my solution is a simpler patch for now. I made a shortcut that
> simply executes:
>
> restoredefaultpath;
> matlabrc
>
-----------------------------------
Subject:
Why does MATLAB R2007a hang at "Initializing" on Windows?
Summary:
When running MATLAB R2007a, MATLAB states that it is "Initializing"
and never finishes. If I hit the keys CTRL+C, I get the following
error:
%%%BEGIN ERROR%%%
Error in ==> matlabrc at 34
matlabpath(pathdef);
%%%END ERROR%%%
I have some control in the command window at that point.
Solution:
This error is currently under investigation. It appears that MATLAB
is failing to initialize the path correctly.
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:
Once you save the file and restart MATLAB, it should not hang at the
intialization phase.
-----------------------------------
"Croydon Dias" <twistadias@gmail.com> wrote in message <f8me7r$hn7$1@fred.mathworks.com>...
> How do i read about Solution Number: 1-424AAV
>
> Could you please tell me the exact steps you took to get the program working
>
> What did you add to the shortcut
>
> My current shortcut is as follows
> C:\Users\Croydon\Documents\MATLAB\bin\matlab.bat -sd $documents\MATLAB
>
>
>
> "John Mosher" <mosher@lanl.gov> wrote in message
> > See Solution Number: 1-424AAV
> >
> > But my solution is a simpler patch for now. I made a shortcut that
> > simply executes:
> >
> > restoredefaultpath;
> > matlabrc
> >
>
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.
"Croydon Dias" <twistadias@gmail.com> wrote in message
<f8patb$p86$1@fred.mathworks.com>...
> Sadly im getting the stupid initializing error again. Is
there any thing else that I could try to make it work.
>
> Are they gonna release a patch for this?
For the R2007a initializing issue, see the Bug report here:
This includes the fix above plus an updated userpath.m file.
You can also try removing the -sd $documents\MATLAB from
the Target field on the Shortcut and filling in the Work
directory in the Start In field of the shortcut.
EX:
Target: "C:\Program Files\MATLAB\R2007a\bin\matlab.bat"
Start In: "C:\Documents and Settings\Administrator\My
Documents\MATLAB"
For other versions, and persistent issues with R2007a, see
solution 1-2Z18MA.
"John Mosher" <mosher@lanl.gov> wrote in message
<ef51c94.3@webcrossing.raydaftYaTP>...
> It's not just Vista, I get the same hang on
initialization under XP
> SP2.
>
> See Solution Number: 1-424AAV
>
> But my solution is a simpler patch for now. I made a
shortcut that
> simply executes:
>
> restoredefaultpath;
> matlabrc
>
> which I found in the comments of the matlabrc mfile. So I
simply
> ctrl-c the hung initialization and then hit the shortcut
button for
> full startup initialization.
>
> Mathworks needs to fix the underlying problem.
John,
Thanks! I looked high and low for the solution to this
problem and yours was the only one that works.
Michael
Public Submission Policy
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for
all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content.
Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available
via MATLAB Central. Read the complete Disclaimer prior to use.