R2018b does not complete initialisation

2 views (last 30 days)
Ann Gray
Ann Gray on 19 Aug 2024
Commented: Ann Gray on 20 Aug 2024
I have been using R2018b successfully for some time, but a few days ago it stopped working.
When I launch Matlab now it remains in the 'Initialising' state until I close it down. I cannot navigate to a folder or open the project or model.
I also have R2020b installed and that is still working ok.
There are no errors or warnings displayed.
I checked all the things mentioned in other similar discussions - license is ok, the preferences are not corrupted, the R2XXXx folder is not corrupted, stopping virus protection makes no difference.
I executed the command "matlab -timing" and the timing log contains this:
MATLAB Startup Performance Metrics (In Seconds)
total item gap description
=========================================================
0.00 0.00 0.00 MATLAB script
0.13 0.13 0.00 main
1.11 0.99 -0.00 Session Initialize
1.26 0.00 0.15 Toolbox cache load Start
1.30 0.05 0.00 LM Startup
1.58 0.01 0.27 splash
2.34 0.18 0.58 Constant Initialization
2.36 0.78 0.00 Engine Startup
2.58 0.22 0.00 InitSunVM
6.27 3.55 0.15 PostVMInit
6.28 3.92 0.00 mljInit
6.75 0.47 0.00 StartDesktop
6.75 4.39 0.00 Java initialization
6.89 0.01 0.13 psParser
9.18 2.43 6.75 Init Desktop
Any help would be much appreciated.
  4 Comments
Torsten
Torsten on 20 Aug 2024
Edited: Torsten on 20 Aug 2024
Launching MATLAB should not depend on a certain model you work on, should it ? Or does the problem only occur with the model you are talking about ?
Contact MATLAB support to go through the possible reasons step by step:
Ann Gray
Ann Gray on 20 Aug 2024
Torsten - to answer your questions, there is only one model in the project that uses R2018b, and in any case since the app does not start it's not possible to select a different model anyway.
I've now managed to get R2018b working again by uninstalling, then reinstalling.

Sign in to comment.

Answers (1)

Animesh
Animesh on 19 Aug 2024
Edited: Animesh on 19 Aug 2024
There is a generic article for such situations that you can refer to:
  1 Comment
Ann Gray
Ann Gray on 20 Aug 2024
Yes, as I mentioned in the description above, I've already checked the points listed in this article - license is ok, the preferences are not corrupted, the R2XXXx folder is not corrupted, stopping virus protection makes no difference.

Sign in to comment.

Categories

Find more on Startup and Shutdown 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!