Deploy a standalone application with parfor loop
1 view (last 30 days)
Show older comments
Hello everyone,
I try to deploy a standalone application which contains a parfor loop. So I did what the MATLAB documentation says regarding this topic: Embed Parallel Computing Toolbox Profile.
The compiler is called with the following line:
mcc function.m -d 'some/directory' -o function -W main -T link:exe -N -p map -R '-logfile, logfile.log' -a 'some/folders' -a ...
The mcruserdata is set in function.m which calls a function using parfor. Unfortunately, when creating a parpool object, the "undefined function" error occurs. But when I try to compile including the parallel computing toolbox ...
mcc function.m -d 'some/directory' -o function -W main -T link:exe -N -p map -p distcomp -R '-logfile, logfile.log' -a 'some/folders' -a ...
... an access violation is detected and a fatal error occurs.
Can anybody give me a hint where the problem is?
0 Comments
Answers (0)
See Also
Categories
Find more on Parallel Computing Fundamentals 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!