필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Error messages on launching of MATLAB and Simulink

조회 수: 1 (최근 30일)
Gagandeep Sharma
Gagandeep Sharma 2019년 7월 21일
마감: Walter Roberson 2019년 7월 22일
I got following kind of message in command window on the launch of MATLAB and simulink
Cannot create file migratePref.txt!
java.io.IOException: The system cannot find the path specified
at java.io.WinNTFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:1012)
at com.mathworks.services.Prefs.readMigrateFlag(Prefs.java:2153)
at com.mathworks.services.Prefs.createTwoWayMapPrefsSettings(Prefs.java:373)
at com.mathworks.services.Prefs.<clinit>(Prefs.java:214)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at com.mathworks.util.PostVMInit$StartupClass.init(PostVMInit.java:156)
at com.mathworks.util.PostVMInit.perform(PostVMInit.java:187)
Cannot write to preference file "matlab.prf" in "C:\MATLAB_preferences ".
Check file permissions.
Cannot write to preference file "matlab.prf" in "C:\MATLAB_preferences ".
Check file permissions.
Cannot write to preference file "matlab.prf" in "C:\MATLAB_preferences ".
Check file permissions.
The desktop configuration was not saved successfully
Cannot write to preference file "matlab.prf" in "C:\MATLAB_preferences ".
Check file permissions.
>> simulink
An error was encountered while saving the command history
java.io.FileNotFoundException: C:\MATLAB_preferences \History.xml (The system cannot find the path specified)
at java.io.RandomAccessFile.open0(Native Method)
at java.io.RandomAccessFile.open(RandomAccessFile.java:316)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:243)
at com.mathworks.mde.cmdhist.AltHistoryCollection$CommandSaver.run(AltHistoryCollection.java:1214)
at java.lang.Thread.run(Thread.java:748)
Cannot write to preference file "matlab.prf" in "C:\MATLAB_preferences ".
Check file permissions.
>>
Database operation order error in . (unknown) (IN DIAGNOSTIC OF SIMULINK)
Please advise the step wise solution in detail. that how can I fix the problem. The abovesaid links are not understandable to me.

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by