Include Parallel computing Toolbox in "Files required..." when compiling application?
조회 수: 3 (최근 30일)
이전 댓글 표시
Hi,
I'm getting an error in a compiled application that states i'm missing some file requirements when using a library that are part of a ".p" file, which as i undertand "P files cannot be analyzed to find their required files. Please add P file requirements manually.". The specific function I'm missing is SPMD as part of the parallel computing toolbox, what I'd like to do is add the Parallel computing library to my list of "Files required for your application to run" section of the application compiler.
How can add the Parallel Computing toolbox (or even just the SPMD function) to this list? I'd prefer to add the library because i'm not sure what other functions in the Parallel Computing Toolbox might be used in that ".p" file.
Thanks for any advice in advance!
Matt
댓글 수: 0
답변 (1개)
Maadhav Akula
2020년 3월 3일
Hi,
I am not sure what you are trying to achieve, but if SPMD function's location helps you out with that, you can try the following command:
directory = fileparts(which('spmd.m'));%Finds the directory you are looking for
You can navigate to the directory and specify the required files in the Application Compiler.
The following link specifies the limitations of the MATLAB Compiler:
Hope this Helps!
참고 항목
카테고리
Help Center 및 File Exchange에서 Search Path에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!