Ridiculously long Matlab starting time

25 次查看(过去 30 天)
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 个评论
Adam
Adam 2016-11-10
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.

请先登录,再进行评论。

采纳的回答

Jan
Jan 2016-11-10
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 个评论
Adam
Adam 2016-11-10
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 2016-11-10
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.

请先登录,再进行评论。

更多回答(2 个)

Image Analyst
Image Analyst 2016-11-10
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 2016-11-10
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!

类别

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

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by