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

429 views (last 30 days)
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
  5 Comments
paulo sigauque
paulo sigauque on 8 Aug 2022
I had the same problem and your comment solve my problem.. Thank you for it...

Sign in to comment.

Accepted Answer

Kojiro Saito
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.
  22 Comments
Alexandre
Alexandre on 13 Mar 2024 at 19:31
i have the same problem... but in macbook air... can u help me?
Kojiro Saito
Kojiro Saito on 13 Mar 2024 at 23:28
The default prefdir of MacOS is
/Users/$USER/Library/Application Support/MathWorks/MATLAB/<MATLAB Version>

Sign in to comment.

More Answers (10)

Arthur Warlop Piers de Raveschoot
thank you very much!!!

syed huzaifa
syed huzaifa on 16 Dec 2019
thank you

Ramila Wijesuriya
Ramila Wijesuriya on 25 Jan 2021
Thanks. It works !!

NN
NN on 9 Jun 2021
I am facing teh same problem, but i couldnt find the APP data folder
  1 Comment
Ravi Gangani
Ravi Gangani on 15 Oct 2021
'APP data folder ' is hidden forlder . you have enable 'show hidden folder' from folder option.

Sign in to comment.


Sakshi chawla
Sakshi chawla on 4 Aug 2021
thanks..it worked

Ravi Gangani
Ravi Gangani on 15 Oct 2021
thanks , yaa Its works

Ashenafi Tesfaye
Ashenafi Tesfaye on 10 Aug 2023
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 on 14 Nov 2023
I am having the same issue, but none of the solutions above help... What else can I try?

KODJOVI SENAM BORIS AHIANDIPE
I'm also having the same issue

Suryansh
Suryansh on 26 Feb 2024
Hi, it is not helping
  1 Comment
Steven Lord
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.

Sign in to comment.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!