From: Moshe Averbukh on
Dear all,
After the MATLAB starting I obtain the next message:
java.io.FileNotFoundException: C:\Documents and Settings\Moshe\Application Data\MathWorks\MATLAB\R2008b\matlab.prf (Access is denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at com.mathworks.services.Prefs.save(Prefs.java:297)
at com.mathworks.services.Prefs$SavePrefsThread.run(Prefs.java:699)
What does it mean and which way I can fix this problem?
A lot of thanks in advance.
From: us on
"Moshe Averbukh" <averbm(a)gmai.com> wrote in message <i38ihk$g8k$1(a)fred.mathworks.com>...
> Dear all,
> After the MATLAB starting I obtain the next message:
> java.io.FileNotFoundException: C:\Documents and Settings\Moshe\Application Data\MathWorks\MATLAB\R2008b\matlab.prf (Access is denied)
> at java.io.FileOutputStream.open(Native Method)
> at java.io.FileOutputStream.<init>(Unknown Source)
> at java.io.FileOutputStream.<init>(Unknown Source)
> at com.mathworks.services.Prefs.save(Prefs.java:297)
> at com.mathworks.services.Prefs$SavePrefsThread.run(Prefs.java:699)
> What does it mean and which way I can fix this problem?
> A lot of thanks in advance.

well... for some reason the ...access is denied...
did you install the software correctly(?)...

us
From: Steven_Lord on


"Moshe Averbukh" <averbm(a)gmai.com> wrote in message
news:i38ihk$g8k$1(a)fred.mathworks.com...
> Dear all,
> After the MATLAB starting I obtain the next message:
> java.io.FileNotFoundException: C:\Documents and Settings\Moshe\Application
> Data\MathWorks\MATLAB\R2008b\matlab.prf (Access is denied)
> at java.io.FileOutputStream.open(Native Method)
> at java.io.FileOutputStream.<init>(Unknown Source)
> at java.io.FileOutputStream.<init>(Unknown Source)
> at com.mathworks.services.Prefs.save(Prefs.java:297)
> at com.mathworks.services.Prefs$SavePrefsThread.run(Prefs.java:699)
> What does it mean and which way I can fix this problem?
> A lot of thanks in advance.

It suggests that you don't, for whatever reason, have permission to read
and/or write in your preferences directory. Check to make sure that you
have permissions for the directory:

C:\Documents and Settings\Moshe\Application Data\MathWorks\MATLAB\R2008b

and the matlab.prf file inside that directory. If that doesn't work, rename
that directory and start MATLAB again; MATLAB should create a new
preferences directory.

--
Steve Lord
slord(a)mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
To contact Technical Support use the Contact Us link on
http://www.mathworks.com

From: Moshe Averbukh on
"Steven_Lord" <slord(a)mathworks.com> wrote in message <i395l8$phk$1(a)fred.mathworks.com>...
>
>
> "Moshe Averbukh" <averbm(a)gmai.com> wrote in message
> news:i38ihk$g8k$1(a)fred.mathworks.com...
> > Dear all,
> > After the MATLAB starting I obtain the next message:
> > java.io.FileNotFoundException: C:\Documents and Settings\Moshe\Application
> > Data\MathWorks\MATLAB\R2008b\matlab.prf (Access is denied)
> > at java.io.FileOutputStream.open(Native Method)
> > at java.io.FileOutputStream.<init>(Unknown Source)
> > at java.io.FileOutputStream.<init>(Unknown Source)
> > at com.mathworks.services.Prefs.save(Prefs.java:297)
> > at com.mathworks.services.Prefs$SavePrefsThread.run(Prefs.java:699)
> > What does it mean and which way I can fix this problem?
> > A lot of thanks in advance.
>
> It suggests that you don't, for whatever reason, have permission to read
> and/or write in your preferences directory. Check to make sure that you
> have permissions for the directory:
>
> C:\Documents and Settings\Moshe\Application Data\MathWorks\MATLAB\R2008b
>
> and the matlab.prf file inside that directory. If that doesn't work, rename
> that directory and start MATLAB again; MATLAB should create a new
> preferences directory.
>
> --
>
> slord(a)mathworks.com
> comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
> To contact Technical Support use the Contact Us link on
> http://www.mathworks.com

Dear Steve Lord!
Very much thanks, it work!!!