Azzera filtri
Azzera filtri

Ridiculously long Matlab starting time

26 visualizzazioni (ultimi 30 giorni)
My Matlab takes 20 minutes to sart. Every new release of the product takes longer. Is Mathworks going to fix this ridiculously long starting time? I know there is much other people with the same problem, is not a problem of my computer.
  1 Commento
Adam
Adam il 10 Nov 2016
I assume you have put in a support request? This is not standard. I have not heard of anyone having such a long start time so it is clearly something in your specific setup rather than a general Matlab problem. Either way Mathworks Technical Support is the best place to ask for help.

Accedi per commentare.

Risposta accettata

Jan
Jan il 10 Nov 2016
I've installed many versions of Matlab. I can confirm, that the startup times increase with the version. But I've never seens anything beyond 30 seconds, even when Matlab is installed on a network drive.
Therefore I'd check the usual problems:
  • Is your hard disk fine?
  • Is Matlab installed on a network drive and the connection is slow due to old hardware or network activities?
  • Does the virus scanner waste time with checking each file exhaustively?
  • Are there missing folders in the path (e.g. onnetwork drives)?
  • Do you have symbolic links or junktion points inside the Matlab path, which create a circle? Then genpath might drive crazy?
  • Is the commandwindow open already during this long delay? Then it might be a problem in startup.m or matlabrc.m.
  • Do you run an installation with all toolboxes? This is not useful and restricting the used toolboxes is leaner and faster, of course.
  2 Commenti
Adam
Adam il 10 Nov 2016
Also check where your license is being retrieved from as I have heard this can be a source of startup time (though nowhere near 20 minutes)
Steven Lord
Steven Lord il 10 Nov 2016
If none of Jan or Adam's suggestions in this answer result in a reasonable startup time, as Adam said in a comment on the original question please contact Technical Support for help. A 20 minute startup time means that something is definitely wrong, and they should be able to help you identify the root cause and correct it. You can contact Support using the Contact Us link in the upper-right corner of this page.

Accedi per commentare.

Più risposte (2)

Image Analyst
Image Analyst il 10 Nov 2016
Mine starts up in about 3 seconds. It used to take a long time like a minute and sometimes many minutes like you said if I tried to start it immediately upon booting while lots of other background processes were going. However my computer just got slower and slower -- it was taking like 15 minutes to boot. Our IT tech support couldn't figure out what was taking so long so they just replaced my hard drive with a solid state drive and now I can boot and start being productive within about 5 seconds, including starting Outlook, Firefox, and MATLAB immediately.
When I was taking a long time to start MATLAB I would look at the process list and see a program called MATLAB Accelerator . It seemed to be stuck on that program ( ironically ). I'd see just a Splash logo for several minutes until that thing went away. I don't know why or what it does. But anyway, try calling the Mathworks tech support, especially if MATLAB is the only program that takes so long to launch.

Mireia Torralba
Mireia Torralba il 10 Nov 2016
Hi Jan, thanks for your fast answer. From all the points you comment, the only I find it may happen to me is:
Do you run an installation with all toolboxes? This is not useful and restricting the used toolboxes is leaner and faster, of course.
I will try to restrict the toolboxes I am loading at start, probably in my startup.m file. For the rest, my Matlab is local, the hard drive works fine for the rest of my programs and my Matlab path is "C:\Program Files\MATLAB\R2016b", which I guess is fine.
Thanks again!

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Tag

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by