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

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 comentarios

I have the same problem not able to uderstand it
It is on taskbar and just showing transfer,storage,...
I have the same problem!
I had the same problem and your comment solve my problem.. Thank you for it...
venkat reddy
venkat reddy el 14 de Feb. de 2023
Thank you very Much
Harry
Harry el 14 de Nov. de 2023
Movida: Walter Roberson el 22 de Mzo. de 2025
I am having the same issue, but none of the solutions above help... What else can I try?
KODJOVI SENAM BORIS AHIANDIPE
KODJOVI SENAM BORIS AHIANDIPE el 21 de Nov. de 2023
Movida: DGM el 15 de Nov. de 2024
I'm also having the same issue

Iniciar sesión para comentar.

 Respuesta aceptada

Kojiro Saito
Kojiro Saito el 20 de Mzo. de 2019
Editada: Kojiro Saito el 14 de Oct. de 2019

36 votos

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 comentarios

Thank you, this solved the issue!
Thank you!!
Arthur Warlop Piers de Raveschoot
Arthur Warlop Piers de Raveschoot el 23 de Nov. de 2019
Movida: DGM el 15 de Nov. de 2024
thank you very much!!!
syed huzaifa
syed huzaifa el 16 de Dic. de 2019
Movida: DGM el 15 de Nov. de 2024
thank you
Moin Diwan
Moin Diwan el 5 de Mzo. de 2020
Thanks man...!!!!
mmf mds
mmf mds el 7 de Abr. de 2020
It's still not opening after deleting these. What should I do ?
Irtaza Waheed
Irtaza Waheed el 21 de Mayo de 2020
Worked for me too. Thanks. Just had to reactivate license. :)
It works! Thank you very much!
Mai Nguyen
Mai Nguyen el 19 de Ag. de 2020
Worked for me! Thanks
brij tiwari
brij tiwari el 7 de Sept. de 2020
Thanks a lot. it work fine.
koushmitha suri
koushmitha suri el 29 de Sept. de 2020
It works! Thanks a lot
Hualin Ren
Hualin Ren el 28 de Oct. de 2020
It works well! Thanks!
It works, thank you a lot
Thank you. It works, once deleted I just had to activate Matlab
Ramila Wijesuriya
Ramila Wijesuriya el 25 de En. de 2021
Movida: DGM el 15 de Nov. de 2024
Thanks. It works !!
Thanks,It working
Thank youu. You saved my life!
Richa Dubey
Richa Dubey el 11 de Abr. de 2021
I always have to do this before I open matlab 2021. Could you please suggest a permanent solution for this.
Thanks.
thank you soo much
ARPITA  HUGGI
ARPITA HUGGI el 25 de Mayo de 2021
thank you this helped
Sakshi chawla
Sakshi chawla el 4 de Ag. de 2021
Movida: DGM el 15 de Nov. de 2024
thanks..it worked
It's work for me in 2021a. Thank !!
Ravi Gangani
Ravi Gangani el 15 de Oct. de 2021
Movida: DGM el 15 de Nov. de 2024
thanks , yaa Its works
Ahmed Mahdy
Ahmed Mahdy el 12 de En. de 2023
Thanks man for your help!
Emmanuella
Emmanuella el 24 de Jul. de 2023
God bless you 😭😭😭😭 thanks really
Alexandre
Alexandre el 13 de Mzo. de 2024
i have the same problem... but in macbook air... can u help me?
Kojiro Saito
Kojiro Saito el 13 de Mzo. de 2024
The default prefdir of MacOS is
/Users/$USER/Library/Application Support/MathWorks/MATLAB/<MATLAB Version>
Rohit Singh
Rohit Singh el 15 de Nov. de 2024
Editada: Rohit Singh el 15 de Nov. de 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
thank You! your suggested solution worked also for my MATLAB 2023b!

Iniciar sesión para comentar.

Más respuestas (3)

Ashenafi Tesfaye
Ashenafi Tesfaye el 10 de Ag. de 2023

2 votos

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 comentarios

Sen
Sen el 27 de En. de 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 el 17 de Mzo. de 2025
This worked for 2024b thank you!

Iniciar sesión para comentar.

NN
NN el 9 de Jun. de 2021

0 votos

I am facing teh same problem, but i couldnt find the APP data folder

1 comentario

Ravi Gangani
Ravi Gangani el 15 de Oct. de 2021
'APP data folder ' is hidden forlder . you have enable 'show hidden folder' from folder option.

Iniciar sesión para comentar.

Suryansh
Suryansh el 26 de Feb. de 2024

0 votos

Hi, it is not helping

1 comentario

Steven Lord
Steven Lord el 26 de Feb. de 2024
Please contact Customer Service directly using this link and work with them to determine why MATLAB will not open on your machine.

Iniciar sesión para comentar.

Categorías

Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.

Productos

Versión

R2018b

Etiquetas

Preguntada:

el 20 de Mzo. de 2019

Movida:

el 22 de Mzo. de 2025

Community Treasure Hunt

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

Start Hunting!

Translated by