Suddenly Matlab does not have permission to do anything!
11 views (last 30 days)
Show older comments
Nick Agapiou
on 3 Jun 2015
Commented: Image Analyst
on 5 Jun 2015
Hello! I am taking Matlab courses for my Msc, so this is kind of urgent. One day that I wanted to work in Matlab. After I booted it, it gave me a splash screen with java permission access errors and then quit. I ran it as administrator and although it got me into the program, it gave me CD access folder errors. ALL of the files and folders on the left area appeared grey (as in inaccessible), NOT just one or two of them. I re-installed it, and now either it will hang in the splash screen, or if i use the nodesktop command, it will give me this:
"Warning: failed to create preference directory C:\Users\\AppData\Roaming\MathWorks\MATLAB\R2015a.
Check directory permissions.Warning: Userpath must be an absolute path and must exist on disk. "
even though the directory already exists -created by Matlab during the installation.
Th problem can be summed up in this sentence: Suddenly, Matlab has NO access (admin mode or not) in ANY folder or file, even though the previous day everything was smooth.
I am running Windows 8, and the only thing I can think of is that Windows did a silent update, changing some hidden preferences, causing this problem.
2 Comments
dpb
on 3 Jun 2015
Sounds like your supposition may be correct or your machine got infected or the antivirus software has gone amok mayhaps...
Star Strider
on 3 Jun 2015
Windows 8 has problems that do not go away even if you update to 8.1.
I always have to warm-reboot at least twice after each update (waiting about 10 minutes between reboots) before it’s finally stable and everything works as it should. I now do this automatically after each update before I launch any applications.
I never had these problems with Windows 7.
Accepted Answer
Image Analyst
on 3 Jun 2015
Is there a "Nick" between the "\\" in "C:\Users\\AppData\Roaming\MathWorks\MATLAB\R2015a" Actually when I edit the question, I see 7 strange looking symbols as the user name.
 
Since this is urgent, your fastest solution will be to call the Mathworks on the telephone and talk to a live person. It will be free since this is an installation issue. See the FAQ: http://matlab.wikia.com/wiki/FAQ#After_installation.2C_MATLAB_crashes_or_gives_an_error_message_when_I_try_to_run_MATLAB.
0 Comments
More Answers (1)
Nick Agapiou
on 3 Jun 2015
3 Comments
Image Analyst
on 5 Jun 2015
Call them in Natick. They MUST be able to get you to a running version or else you have a right to ask for your money back. Tell them that. Ask for a refund and see how fast they help you.
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!