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

513 vues (au cours des 30 derniers jours)
Abhimanyu Talwar
Abhimanyu Talwar le 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
  7 commentaires
Harry
Harry le 14 Nov 2023
Déplacé(e) : Walter Roberson le 22 Mar 2025
I am having the same issue, but none of the solutions above help... What else can I try?
KODJOVI SENAM BORIS AHIANDIPE
Déplacé(e) : DGM le 15 Nov 2024
I'm also having the same issue

Connectez-vous pour commenter.

Réponse acceptée

Kojiro Saito
Kojiro Saito le 20 Mar 2019
Modifié(e) : Kojiro Saito le 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.
  29 commentaires
Rohit Singh
Rohit Singh le 15 Nov 2024
Modifié(e) : Rohit Singh le 15 Nov 2024
what is the default prefdir for windows? i reactivated my matlab license but still can't open a matlab file. it still shows error
Massimo Del Guasta
Massimo Del Guasta le 18 Fév 2025
thank You! your suggested solution worked also for my MATLAB 2023b!

Connectez-vous pour commenter.

Plus de réponses (3)

Ashenafi Tesfaye
Ashenafi Tesfaye le 10 Août 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.
  2 commentaires
Sen
Sen le 27 Jan 2025
Method 4 works, but simply delete the 'AppData/Roaming/Mathworks/R20xxx.' does not work for me.
In my laptop,
  • First, rename this folder e.g R2024a to R2024a_old. (not delete)
  • Then, it works.
Jack
Jack le 17 Mar 2025
This worked for 2024b thank you!

Connectez-vous pour commenter.


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

Connectez-vous pour commenter.


Suryansh
Suryansh le 26 Fév 2024
Hi, it is not helping
  1 commentaire
Steven Lord
Steven Lord le 26 Fév 2024
Please contact Customer Service directly using this link and work with them to determine why MATLAB will not open on your machine.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Manage Products dans Help Center et File Exchange

Produits


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by