Azzera filtri
Azzera filtri

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

4 visualizzazioni (ultimi 30 giorni)
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?

Risposte (1)

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

Accedi per commentare.

Categorie

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

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by