Filter löschen
Filter löschen

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

4 Ansichten (letzte 30 Tage)
Nick
Nick am 15 Jun. 2016
Kommentiert: Andreas Goser am 16 Jun. 2016
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?

Antworten (1)

Andreas Goser
Andreas Goser am 15 Jun. 2016
Can you try starting MATLAB with the "-c" startup option? This avoids MATLAB looks for license files in unexpected places.
  3 Kommentare
Nick
Nick am 15 Jun. 2016
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 am 16 Jun. 2016
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?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by