필터 지우기
필터 지우기

Slow startup in VPN

조회 수: 11 (최근 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 CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

제품


릴리스

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by