Slow startup in VPN

12 ビュー (過去 30 日間)
Fabrizio Motto
Fabrizio Motto 2020 年 3 月 16 日
回答済み: Shiva Kalyan Diwakaruni 2020 年 3 月 26 日
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 件のコメント
Fabrizio Motto
Fabrizio Motto 2020 年 3 月 16 日
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?

サインインしてコメントする。

回答 (1 件)

Shiva Kalyan Diwakaruni
Shiva Kalyan Diwakaruni 2020 年 3 月 26 日
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.

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

タグ

製品


リリース

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by