Matlab doesn't open (it's installed and activated)
796 views (last 30 days)
Show older comments
Abhimanyu Talwar
on 20 Mar 2019
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 Comments
KODJOVI SENAM BORIS AHIANDIPE
on 21 Nov 2023
Moved: DGM
on 15 Nov 2024 at 19:24
I'm also having the same issue
Accepted Answer
Kojiro Saito
on 20 Mar 2019
Edited: Kojiro Saito
on 14 Oct 2019
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 Comments
Kojiro Saito
on 13 Mar 2024
The default prefdir of MacOS is
/Users/$USER/Library/Application Support/MathWorks/MATLAB/<MATLAB Version>
Rohit Singh Aale Magar
on 15 Nov 2024 at 18:58
Edited: Rohit Singh Aale Magar
on 15 Nov 2024 at 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
More Answers (4)
NN
on 9 Jun 2021
I am facing teh same problem, but i couldnt find the APP data folder
1 Comment
Ravi Gangani
on 15 Oct 2021
'APP data folder ' is hidden forlder . you have enable 'show hidden folder' from folder option.
Ashenafi Tesfaye
on 10 Aug 2023
These are some of the methods.
- Restart your computer and launch MATLAB again.
- Go to task manager and end the process if it is running without opening and displaying on the screen.
- Delete the temporary files
- Delete the AppData/Roaming/Mathworks/R20xxx.
All above listed ways could work but the 4th method is so effective.
That is it.
0 Comments
Harry
on 14 Nov 2023
I am having the same issue, but none of the solutions above help... What else can I try?
0 Comments
Suryansh
on 26 Feb 2024
Hi, it is not helping
1 Comment
Steven Lord
on 26 Feb 2024
Please contact Customer Service directly using this link and work with them to determine why MATLAB will not open on your machine.
See Also
Categories
Find more on Install Products in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!