MATLAB Answers


Java error when running script

Asked by Optical_Stress on 3 Apr 2018
Latest activity Commented on by Millard Alexander on 26 Apr 2018
I get the following error when attempting to run my script:
%Error using matlab.internal.editor.eval.FileInfo
Java exception occurred: java.lang.RuntimeException: Internal Exception in reading MLX file : fl:filesystem:AccessDenied
Caused by: java.lang.RuntimeException: Internal Exception in reading MLX file : fl:filesystem:AccessDenied
at Method)
Error in matlab.internal.editor.eval.TmpFilePath.get
Error in matlab.internal.editor.evaluateCode
Error in matlab.internal.editor.evaluateCode
I'm trying to figure out what is causing this error, please help!


Yes the error is still triggered when all files are synced. I noticed that this started during an update with Dell drivers (graphics card related). Following the update, MATLAB's command terminal output a number of errors indicating that it will now use some virtual low performance graphics card... I have not been able to revert this setting/feature.
on 3 Apr 2018
I meant copying the file into a folder that's completely independent of the cloud.
It may be a red herring but the error message and your initial comments would suggest that something is opening the file at the same time as matlab. The only thing I can suggest is looking at which processes try to access the file with something like process monitor.
I'm tempted to believe it may be related to the fact that each desktop I have owns a different iteration of matlab (2016a, 2017b and 2018a). Perhaps by going between each one I may triggering java run time errors.

Sign in to comment.


1 Answer

Answer by Howard Lam on 26 Apr 2018

Because some path settings are migrated from older version to newer version. Those paths that point to 2017a rather than 2017b or higher will cause these access errors.

  1 Comment

I have the same error. howard, how do I reset my path so that this doesn't happen?

Sign in to comment.