Clear Filters
Clear Filters

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

4 views (last 30 days)
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?

Answers (1)

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

Sign in to comment.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!