Finding toolbox dependencies through subfolders
조회 수: 3 (최근 30일)
이전 댓글 표시
Hi All,
I'm unfortunately quite frustrated trying to do something that I feel should be very simple... I'm trying to compile a file with a number of folders added as well. I'm getting a License Checkout Error for the Control Toolbox, which I don't recall ever calling... So I'm trying to figure out which of my thousands of functions are dependent on this particular toolbox.
So how do I find which file is dependent on this toolbox? It looks like I can run dependency analyses on individual folders, but that would also be horrendously tedious. I'm really frustrated that the License Checkout error doesn't list the originating function that calls the toolbox (rather than depfun or mcc, where the error is thrown from).
Depfun finds the same error, but it just throws the error, rather than informing me what the dependency that caused it was... useless. Same with mcc
I'm open to all ideas. Thanks, Mike
댓글 수: 0
채택된 답변
추가 답변 (1개)
Image Analyst
2015년 3월 26일
Did you try to generate a dependency report for the files in your folder? It should say what dependent m-files are there for each file.
댓글 수: 2
Image Analyst
2015년 3월 27일
You can try fdep() - it's the most comprehensive tool of it's kind for MATLAB.
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!