MATLAB Answers

Mex files and Matlab parallel

2 views (last 30 days)
Maria
Maria on 15 Jun 2021
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)

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by