MATLAB: Matlab doesn’t open (it’s installed and activated)

doesn't workMATLAB

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

Best Answer

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.
Related Question