When you generate a MEX function for code that contains
parfor, you see
JIT technology does not support using OpenMP library, this loop will not be parallelized.
Coder™ generates a JIT MEX function and treats the
JIT compilation and use of the OpenMP application interface are enabled. JIT compilation is incompatible with the OpenMP application interface.
If you want to parallelize