Hi,
I have just installed Matlab Student Version 2007a on my new Windows 7 PC (while on Windows Classic theme). However, when I start the program, it says:
"Warning: MATLAB Toolbox Path Cache is out of date and is not being used.
Type 'help toolbox_path_cache' for more info"
I followed the instructions after typing "help toolbox_path_cache" and restarted Matlab. Now, every time I start Matlab again, I get this message:
"Error: File: pathdef.m Line: 17 Column: 3
Unexpected MATLAB operator.
Warning: MATLAB did not appear to successfully set the search path. To avoid this
warning the next time you start MATLAB, use
http://www.mathworks.com/access/helpdesk/help/techdoc/ref/pathdef.shtml
to help troubleshoot the "pathdef.m" file. To recover for this session
of MATLAB, type "restoredefaultpath;matlabrc".
Warning: Duplicate directory name: C:\Program Files (x86)\MATLAB\R2007a Student\toolbox\local.
Warning: Initializing Handle Graphics failed in matlabrc.
This indicates a potentially serious problem in your MATLAB setup,
which should be resolved as soon as possible. Error detected was:
MATLAB:UndefinedFunction"
I type 'restoredefaultpaht;', then 'matlabrc'. It restores the path for that session, but when I exit and start over, the same problem happens.
What can I do to eliminate this problem once and for all?
I'm running Windows 7 Home Premium on an ASUS Notebook G73JwSeries, with an Intel Core i7 CPU Q 740 (1.73GHz).
Thank you kindly in advance for any advice on this matter.
Best,
Flavia.
|
|
0
|
|
|
|
Reply
|
Flavia
|
1/25/2011 12:36:03 AM |
|
"Flavia Oliveira" <flavia@ene.unb.br> wrote in message
news:ihl5tj$lo$1@fred.mathworks.com...
> Hi,
> I have just installed Matlab Student Version 2007a on my new Windows 7 PC
> (while on Windows Classic theme). However, when I start the program, it
> says:
MATLAB release R2007a is not officially supported on Windows 7:
http://www.mathworks.com/support/sysreq/release2007a/index.html
The first release officially supported on Windows 7 is release R2009a.
http://www.mathworks.com/support/sysreq/release2009a/index.html
> "Warning: MATLAB Toolbox Path Cache is out of date and is not being used.
> Type 'help toolbox_path_cache' for more info"
>
> I followed the instructions after typing "help toolbox_path_cache" and
> restarted Matlab. Now, every time I start Matlab again, I get this
> message:
>
> "Error: File: pathdef.m Line: 17 Column: 3
> Unexpected MATLAB operator.
> Warning: MATLAB did not appear to successfully set the search path. To
> avoid this
> warning the next time you start MATLAB, use
> http://www.mathworks.com/access/helpdesk/help/techdoc/ref/pathdef.shtml
> to help troubleshoot the "pathdef.m" file. To recover for this session
> of MATLAB, type "restoredefaultpath;matlabrc".
> Warning: Duplicate directory name: C:\Program Files (x86)\MATLAB\R2007a
> Student\toolbox\local.
> Warning: Initializing Handle Graphics failed in matlabrc.
> This indicates a potentially serious problem in your MATLAB setup,
> which should be resolved as soon as possible. Error detected was:
> MATLAB:UndefinedFunction"
>
> I type 'restoredefaultpaht;', then 'matlabrc'. It restores the path for
> that session, but when I exit and start over, the same problem happens.
> What can I do to eliminate this problem once and for all?
Open up the PATHTOOL using that command and/or the File -> Set Path menu
item and save the path.
If that doesn't work, post to the group lines 15-20 of your pathdef.m as it
exists immediately after you receive this error so that the group can see
what's on line 17. [If the line number where the error is reported changes,
post a few lines before and after that line, indicate the line and character
listed in the error, and indicate which of the lines you posted is the
listed line.]
--
Steve Lord
slord@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com
|
|
0
|
|
|
|
Reply
|
Steven_Lord
|
1/25/2011 3:07:11 PM
|
|
Hi Steven,
Thank you very much for your prompt response. I really appreciate it.
I finally figured out what was the problem (it took me a while to find which 'pathdef.m' file to look at, though. I know, newbie stuff :) ).
Line 17 of pathdef.m under ...\toolbox\local originally read:
c:\program files (x86)\matlab\r2007a student\toolbox\matlab\audiovideo;', ...
There was no " ' " before "c:\...", so Matlab gave an error on Line 17, Column 3.
Since this was generated automatically by Matlab, I was initially unconfortable to edit it. But I saved the content and just added " ' " at the beginning of each of the lines Matlab was reporting an error, and now it initialized without a glitch. I do run it in "Windows Classic" mode only, Matlab 2007a does not indeed run smoothly under Windows 7 otherwise.
I believe I will now only get an error when Matlab has to create this file again, since it will be missing a " ' ", for some reason beyond me.
Thanks again very much for your time in answering this post.
Best regards,
Flavia Oliveira.
"Steven_Lord" <slord@mathworks.com> wrote in message <ihmouv$2md$1@fred.mathworks.com>...
>
>
> "Flavia Oliveira" <flavia@ene.unb.br> wrote in message
> news:ihl5tj$lo$1@fred.mathworks.com...
> > Hi,
> > I have just installed Matlab Student Version 2007a on my new Windows 7 PC
> > (while on Windows Classic theme). However, when I start the program, it
> > says:
>
> MATLAB release R2007a is not officially supported on Windows 7:
>
> http://www.mathworks.com/support/sysreq/release2007a/index.html
>
> The first release officially supported on Windows 7 is release R2009a.
>
> http://www.mathworks.com/support/sysreq/release2009a/index.html
>
> > "Warning: MATLAB Toolbox Path Cache is out of date and is not being used.
> > Type 'help toolbox_path_cache' for more info"
> >
> > I followed the instructions after typing "help toolbox_path_cache" and
> > restarted Matlab. Now, every time I start Matlab again, I get this
> > message:
> >
> > "Error: File: pathdef.m Line: 17 Column: 3
> > Unexpected MATLAB operator.
> > Warning: MATLAB did not appear to successfully set the search path. To
> > avoid this
> > warning the next time you start MATLAB, use
> > http://www.mathworks.com/access/helpdesk/help/techdoc/ref/pathdef.shtml
> > to help troubleshoot the "pathdef.m" file. To recover for this session
> > of MATLAB, type "restoredefaultpath;matlabrc".
> > Warning: Duplicate directory name: C:\Program Files (x86)\MATLAB\R2007a
> > Student\toolbox\local.
> > Warning: Initializing Handle Graphics failed in matlabrc.
> > This indicates a potentially serious problem in your MATLAB setup,
> > which should be resolved as soon as possible. Error detected was:
> > MATLAB:UndefinedFunction"
> >
> > I type 'restoredefaultpaht;', then 'matlabrc'. It restores the path for
> > that session, but when I exit and start over, the same problem happens.
> > What can I do to eliminate this problem once and for all?
>
> Open up the PATHTOOL using that command and/or the File -> Set Path menu
> item and save the path.
>
> If that doesn't work, post to the group lines 15-20 of your pathdef.m as it
> exists immediately after you receive this error so that the group can see
> what's on line 17. [If the line number where the error is reported changes,
> post a few lines before and after that line, indicate the line and character
> listed in the error, and indicate which of the lines you posted is the
> listed line.]
>
> --
> Steve Lord
> slord@mathworks.com
> To contact Technical Support use the Contact Us link on
> http://www.mathworks.com
|
|
0
|
|
|
|
Reply
|
Flavia
|
1/27/2011 1:59:05 AM
|
|
I have the same problem with MATLAB student version 7.11.0 (2010b) and the lines of my file pathdef.m are :
p = [...
%%% BEGIN ENTRIES %%%
matlabroot,'\toolbox;', ...
matlabroot,';', ...
'C:\Program Files\MATLAB;', ...
can you help me with whats wrong??? This problem doesnt let me use worldmap.m etc. I dont have administrative rights on my Program Files...
thanks
Becks
|
|
0
|
|
|
|
Reply
|
reve_al (21)
|
9/23/2011 3:58:15 PM
|
|
|
3 Replies
622 Views
(page loaded in 0.089 seconds)
|