matlab takes FOREVER to start when the pc is not connected to the internet

4 次查看(过去 30 天)
I have 2015b and 2016a on a stand-alone PC with no internet connection. Starting either installation takes AGES the first time each day and sometimes I get an "error" saying Matlab can't contact mathworks. Presumably it's trying and failing to get a connection and waiting until it does so.
RE-starts then only take 15s.
There is NO reason for matlab to talk to the mothership. How can I stop it trying?

回答(1 个)

Andreas Goser
Andreas Goser 2016-6-15
Can you try starting MATLAB with the "-c" startup option? This avoids MATLAB looks for license files in unexpected places.
  3 个评论
Nick
Nick 2016-6-15
I tried modifying the windows desktop shortcut to
"...\matlab.exe" -c
Makes no difference. Sometimes starts after 11s sometimes hangs on the startup splash for 2 minutes.
Do I need to specify the location of the license file after the "-c"; if so, where is it? Any ideas?
Andreas Goser
Andreas Goser 2016-6-16
Depends somewhat on release and OS, but current Windows releases have a "licenses" folder where the license files are. Mostly just one.
I suggested -c as I know there is impact in case of other tools using FLEXnet. Do you have an environment variable like LM_LICENSE_FILE?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by