deploytool (2016a) stalling when opening projects?

조회 수: 2 (최근 30일)
Anna Weeks
Anna Weeks 2016년 5월 10일
When I try to open an existing *.prj (deploytool application) in 2016a, MATLAB stalls and will not open the project. The project is largish but opens fine in 2015b. The source code is sitting in a large directory structure, is this the problem?

답변 (1개)

Krishna Chaitanya Duggineni
Krishna Chaitanya Duggineni 2016년 5월 16일
Source code location should not be a problem. Try the following troubleshooting steps
1) Is this delay specific to one project ? Can you open a project normally if it is a simple standalone executable ?
If your answers to the above questions are not true then try the step below.
2) 'deploytool projectname' will checkout a compiler license before opening deploytool. So, see if the license checkout is causing the MATLAB to lag. To do this, do
>> edit deploytool.m
put breakpoints in the code, then do
>> deploytool projectname
Step through the code. Identify which part of the code is taking more time.
  댓글 수: 2
Anna Weeks
Anna Weeks 2016년 5월 17일
Just to expand, I think that the issue occurs when deploytool tries to find the 'Files required for your application to run'. I have two exact copies of the source code, one on a local drive and one on a networked drive. If I select my main file on the local drive it takes ~2 minutes to find all required files. On the networked drive the screen just locks up. I would assume that it was just a problem with our network, however in 2015b I can get the list of required files from the networked drive in about 3 minutes. Just as an additional check - running a dependency analysis (matlab.codetools.requiredFilesAndProducts) takes about the same time on the two drives. P.S. The license checkout is fine.
Krishna Chaitanya Duggineni
Krishna Chaitanya Duggineni 2016년 5월 20일
I am not aware of any report that MATLAB R2016a is slow while accessing networks locations. Ideally MATLAB R2016a's performance in this regard should be either the same or better than R2015b.
Perhaps, it is a good idea to create a case with Mathworks Technical Support at this point. You can do so by creating a service request from the link below.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by