Main Content

JIT MEX Incompatibility Warning

Issue

When you generate a MEX function, you see a warning message that starts with:

JIT compilation is incompatible with

MATLAB® Coder™ generates a C/C++ MEX function instead of a JIT MEX function.

Cause

JIT compilation is incompatible with certain code generation features and options. If you include custom code or update the build information, you cannot generate a JIT MEX function. In these cases, MATLAB Coder generates a C/C++ MEX function instead of a JIT MEX function.

Solution

To eliminate the warning, disable JIT compilation.

Related Topics