Clear Filters
Clear Filters

Start up problem - "initializing" takes ages...

3 views (last 30 days)
Ronald van den Berg
Ronald van den Berg on 27 Jul 2013
Commented: BM on 12 Oct 2017
Starting Matlab (7.11.0; R2010b) takes ages on my HP Pavilion dm1 laptop running on Windows 7.
I have tried several suggested solutions (add license path to Windows, check if toolbox cache enabled, etc), but nothing seems to help.
Below is the log i created with running "matlab -timing". It seems like matlabpath or matlabrc takes very long. However, if i rerun matlabpath and matlabrc after i get a prompt, they only take about 0.1 sec to execute..
Any help on this would be appreciated. Thanks.
total item gap description
=====================================
0.00 0.00 0.00 MATLAB script
1.06 1.06 0.00 main
1.15 0.07 0.02 LM Startup
1.19 0.02 0.02 splash
1.19 0.00 0.00 mnSigInit
3.76 2.57 0.00 mljInit
34.32 30.56 0.00 StartDesktop
34.32 33.13 0.00 Java initialization
34.39 0.07 0.00 hgInitialize
35.02 0.55 0.08 psParser
35.30 0.03 0.25 cachepath
36.37 0.65 0.42 matlabpath
387.51 352.21 0.00 matlabrc
=====================================
Items shown account for 99.9% of total startup time [TIMER: 1 MHz]
  2 Comments
Image Analyst
Image Analyst on 27 Jul 2013
Why not try the latest release? It might get rid of your long startup time.
BM
BM on 12 Oct 2017
I have been experiencing the same problem with different Matlab versions, academic and trial licenses, etc. I have searched forums for solutions and tried suggestions. As Ronald, I haven´t been able to sort this out. Can somebody help us, please??

Sign in to comment.

Answers (1)

Jan
Jan on 27 Jul 2013
You can add some TIC/TOCs to the matlabrx.m file to find out where the time is spent.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!