persistent error message at command window prompt...

6 Ansichten (letzte 30 Tage)
Scott
Scott am 24 Aug. 2011
I have just started a contract at Wells Fargo in Charlotte. I have been given access to the MATLAB on the server here, but I keep getting a persistent error message at the command window screen prompt:
"java.io.FileNotFoundException: D:\Program Files\MATLAB\preffile\MATLAB.prf (Access is denied)."

Akzeptierte Antwort

Fangjun Jiang
Fangjun Jiang am 24 Aug. 2011
That is the MATLAB preference file. You don't seem to have access to that file. Do you have the access to that file? Can you open a Windows Explorer and navigate to that file?

Weitere Antworten (1)

Yair Altman
Yair Altman am 24 Aug. 2011
Try to found out why Matlab wants to access this filepath (which is invalid) in the first place - the MATLAB.prf file is normally placed in prefdir, which is a user-accessible folder such as C:\Documents and Settings\<username>\Application Data\MathWorks\MATLAB\R2011b
Perhaps your prefdir folder points to this invalid folder? (run prefdir in Matlab's command prompt to find out). If so, it might be due to an invalid environment variable (e.g., 'APPDATA').

Kategorien

Mehr zu Desktop finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by