R2018b does not complete initialisation

2 次查看(过去 30 天)
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 个评论
Torsten
Torsten 2024-8-20
编辑:Torsten 2024-8-20
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 2024-8-20
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.

请先登录,再进行评论。

回答(1 个)

Animesh
Animesh 2024-8-19
编辑:Animesh 2024-8-19
There is a generic article for such situations that you can refer to:
  1 个评论
Ann Gray
Ann Gray 2024-8-20
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

标签

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by