Include Parallel computing Toolbox in "Files required..." when compiling application?
1 次查看(过去 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 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!