Matlab doesn't open (it's installed and activated)

809 次查看(过去 30 天)
I'm on a Windows 10 machine. I had a well functioning Matlab 2018a installed and then suddenly it stopped working. When I try to open Matlab, it shows up in my Task Manager but the software just doesn't open.
I uninstalled 2018a, downloaded and installed 2018b and activated it, but it still shows the same behavior.
Can someone please help me? I've wasted hours of effort on this and can't make it work.
Thanks
  6 个评论

请先登录,再进行评论。

采纳的回答

Kojiro Saito
Kojiro Saito 2019-3-20
编辑:Kojiro Saito 2019-10-14
It might be because MATLAB's prefdir is corrupted.
Please delete the following folders (previous prefdir)
  • C:\Users\YOUR_USER_NAME\AppData\Roaming\MathWorks\MATLAB\R2018a
  • C:\Users\YOUR_USER_NAME\AppData\Roaming\MathWorks\MATLAB\R2018a_licenses
  • C:\Users\YOUR_USER_NAME\AppData\Roaming\MathWorks\MATLAB\R2018b
  • C:\Users\YOUR_USER_NAME\AppData\Roaming\MathWorks\MATLAB\R2018b_licenses
and launch MATLAB R2018b again.
  28 个评论
Kojiro Saito
Kojiro Saito 2024-3-13
The default prefdir of MacOS is
/Users/$USER/Library/Application Support/MathWorks/MATLAB/<MATLAB Version>
Rohit Singh Aale Magar
Rohit Singh Aale Magar 2024-11-15,18:58
编辑:Rohit Singh Aale Magar 2024-11-15,18:58
what is the default prefdir for windows? i reactivated my matlab license but still can't open a matlab file. it still shows error

请先登录,再进行评论。

更多回答(4 个)

NN
NN 2021-6-9
I am facing teh same problem, but i couldnt find the APP data folder
  1 个评论
Ravi Gangani
Ravi Gangani 2021-10-15
'APP data folder ' is hidden forlder . you have enable 'show hidden folder' from folder option.

请先登录,再进行评论。


Ashenafi Tesfaye
Ashenafi Tesfaye 2023-8-10
These are some of the methods.
  1. Restart your computer and launch MATLAB again.
  2. Go to task manager and end the process if it is running without opening and displaying on the screen.
  3. Delete the temporary files
  4. Delete the AppData/Roaming/Mathworks/R20xxx.
All above listed ways could work but the 4th method is so effective.
That is it.

Harry
Harry 2023-11-14
I am having the same issue, but none of the solutions above help... What else can I try?

Suryansh
Suryansh 2024-2-26
Hi, it is not helping
  1 个评论
Steven Lord
Steven Lord 2024-2-26
Please contact Customer Service directly using this link and work with them to determine why MATLAB will not open on your machine.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Install Products 的更多信息

标签

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by