Mex files and Matlab parallel

3 views (last 30 days)
Maria
Maria on 15 Jun 2021
This question was flagged by Alvaro
Hi,
I have some functions with some parfor so that, when I run them, the parallel pool starts automatically. Now, I mexed (C++) these functions, and I run it, but the parallel pool does not start anymore. My question is: can mex files be parallelized so that, when I run a code with them, they are executed in parallel like their original .m function?

Answers (0)

Categories

Find more on Parallel Computing in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!