Slow startup in VPN

5 visualizaciones (últimos 30 días)
Fabrizio Motto
Fabrizio Motto el 16 de Mzo. de 2020
Respondida: Shiva Kalyan Diwakaruni el 26 de Mzo. de 2020
Hello.
When I'm not in my office and I work in a VPN Matlab needs a lot of time to start (from my office it much faster). It seems, that it searches for a server, that cant be found. It can't be the license because I have my own licence, I'm not working with floating licences.
What can it be?
Is ther some setting, that ich can try to change?
Thank you.
  1 comentario
Fabrizio Motto
Fabrizio Motto el 16 de Mzo. de 2020
The problem should be in matlabpath(pathdef); in matlabrc.
I don't undertand why it lasts so long in the VPN. All the path ther are local in my computer.
pathdef at the end calls getenv('MATLABPATH') and it is empty. Can it be the problem?

Iniciar sesión para comentar.

Respuestas (1)

Shiva Kalyan Diwakaruni
Shiva Kalyan Diwakaruni el 26 de Mzo. de 2020
Hi,
In some instances, customers have reported that the anti-virus application which was working in the background, was slowing down MATLAB. For these customers, disabling the “active scan’ option for at least the MATLAB directories improved performance substantially.
In some rare cases the preference settings in MATLAB may negatively affect startup performance. The following steps ensure the toolbox cache settings are set back to the default:
  1. In the MATLAB toolstrip, click on “Home” and then on the “Preferences” button.
  2. Inside the “Preferences” window, select “MATLAB -> General” on the left-hand side.
  3. On the right-hand side, verify that “Enable toolbox path cache” is enabled.
Another possible preference that may negatively affect startup performance is the source-control integration. Please attempt to disable this setting if you do not use any form of source-control integration.
  1. In the MATLAB toolstrip, click on “Home” and then on the “Preferences” button.
  2. Inside the “Preferences” window, select “MATLAB -> General -> Source Control”. on the left-hand side.
  3. Select “None” on the right-hand side and then apply the changes.
If none of the above solutions resolve the issue the “timing” flag can be used as a diagnostic tool that will help determine which process is taking a long time to initialize. To do this, you can run MATLAB from command prompt or terminal by navigating to the bin directory like so:
cd $MATLAB\R20XXx\bin
Where $MATLAB is the root MATLAB directory
Next execute the following command:
matlab -timing
This will start MATLAB and automatically record the time taken for each startup task. When the startup completes, you will see a log outputted inside the MATLAB Command window that summarizes the timing results. Note that this will also create a text log file noted at the top of the output.

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by