Windows 10 Matlab suddenly won't open

112 ビュー (過去 30 日間)
Andrew Cox
Andrew Cox 2018 年 10 月 27 日
コメント済み: Maurício Andrade 2022 年 11 月 17 日
While I was working on Matlab, my computer crashed (it does this every now and again, it's an old windows HP laptop), but when I rebooted the laptop, the current version of Matlab won't open up: I click on the icon, it briefly flashes and then nothing happens. The previous versions still works fine, so it's not urgent, but obviously I'd want to be able to keep working on the current version.
Thanks!
  11 件のコメント
YUVRAJ RAWAT
YUVRAJ RAWAT 2021 年 8 月 5 日
I M GETTING SAME PROBLEM , PLEASE CAN ANYONE HELP ME OUT .
Erik Huuki
Erik Huuki 2021 年 8 月 13 日
I had this problem on mac and after I ran the activation again it opened fine after. Be sure to allow access to documents

サインインしてコメントする。

採用された回答

Bhargav Kinnal
Bhargav Kinnal 2019 年 5 月 3 日
  25 件のコメント
SUVRAUJJAL DUTTA
SUVRAUJJAL DUTTA 2022 年 5 月 3 日
Thanks.It works.
Maurício Andrade
Maurício Andrade 2022 年 11 月 17 日
:D It worked for me, too!!!!

サインインしてコメントする。

その他の回答 (5 件)

dumblydoop
dumblydoop 2018 年 11 月 29 日
I had the same problem. Deleting my preferences folder did the trick, as described in the solution here:https://www.mathworks.com/matlabcentral/answers/97167-why-will-matlab-not-start-up-properly-on-my-windows-based-system
  3 件のコメント
Michael Landrigan
Michael Landrigan 2021 年 7 月 2 日
Thanks for your comment. I solved the same issue by renaming the preference.
Joon
mohammad akhlaghi
mohammad akhlaghi 2021 年 8 月 17 日
thanks a lot

サインインしてコメントする。


milad hasani
milad hasani 2020 年 8 月 21 日
I suggest that install a last update on your installed matlab version:
For example 2018a:
I tried this and fixed it.
  1 件のコメント
Zini Poon
Zini Poon 2021 年 5 月 7 日
It works! Thanks!

サインインしてコメントする。


Gagandeep Sharma
Gagandeep Sharma 2019 年 7 月 21 日
Following message is appearing on command window on start of the Matlab 2019b
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)
Please advice what I have to do

Gagandeep Sharma
Gagandeep Sharma 2019 年 7 月 21 日
On trying to start simulink following message is prompting
> simulink
Cannot write to preference file "matlab.prf" in "C:\MATLAB_preferences ".
Check file permissions.
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)
java322
simulink
simulink
Undefined function or variable 'java322'.
Cannot write to preference file "matlab.prf" in "C:\MATLAB_preferences ".
Check file permissions.
An error was encountered opening file C:\MATLAB_preferences \History.xml
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)

César Augusto Páez Betancourt
César Augusto Páez Betancourt 2019 年 10 月 7 日
編集済み: César Augusto Páez Betancourt 2019 年 10 月 7 日
Just hit the old restart button on your pc. It worked for me...

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

タグ

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by