Include Parallel computing Toolbox in "Files required..." when compiling application?
1 view (last 30 days)
Show older comments
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 Comments
Answers (1)
Maadhav Akula
on 3 Mar 2020
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!
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!