Function compile_mex

Compile given source files to a MEX function

Compiles or recompiles given source files to a MEX function taking into account source files timestamps. Also works in Octave by switching to mkoctfile command.

Input:

Output: