Java error when running script
古いコメントを表示
Hi,
I get the following error when attempting to run my script:
%Error using matlab.internal.editor.eval.FileInfo
Java exception occurred:
java.io.IOException: java.lang.RuntimeException: Internal Exception in reading MLX file : fl:filesystem:AccessDenied
at com.mathworks.services.mlx.MlxFileUtils.writeCode(MlxFileUtils.java:204)
Caused by: java.lang.RuntimeException: Internal Exception in reading MLX file : fl:filesystem:AccessDenied
at com.mathworks.services.mlx.MlxFileUtils.nativeWriteMlxFile(Native Method)
at com.mathworks.services.mlx.MlxFileUtils.writeCode(MlxFileUtils.java:202)
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!
7 件のコメント
Guillaume
2018 年 4 月 3 日
From
Internal Exception in reading MLX file : fl:filesystem:AccessDenied
I would guess you don't have permissions to read(?)/write(?) to a file
Optical_Stress
2018 年 4 月 3 日
編集済み: Optical_Stress
2018 年 4 月 3 日
Optical_Stress
2018 年 4 月 3 日
Optical_Stress
2018 年 4 月 3 日
編集済み: Optical_Stress
2018 年 4 月 3 日
Guillaume
2018 年 4 月 3 日
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.
Optical_Stress
2018 年 4 月 3 日
回答 (1 件)
Howard Lam
2018 年 4 月 26 日
0 投票
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 件のコメント
Millard Alexander
2018 年 4 月 26 日
I have the same error. howard, how do I reset my path so that this doesn't happen?
カテゴリ
ヘルプ センター および File Exchange で Call MATLAB from Java についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!