MATLAB: Can I use Matlab Coder generated Mex functions on another computer

matlab codermex

I've been able to use Matlab Coder to generate Mex Functions that work on my computer; but I cannot find any instructions on how to use these Mex functions on other computers that have Matlab (and that don't have Matlab Coder). Is there a straight forward way to move the c-code it generates to another system to create the mex function?

Best Answer

To run a MEX function generated by MATLAB Coder™, you must have licenses for all the toolboxes that the MEX function requires. For example, if you generate a MEX function from a MATLAB algorithm that uses a Computer Vision System Toolbox™ function or System object, to run the MEX function, you must have a Computer Vision System Toolbox license.
The other computer should also match the architecture of the computer on which the MEX function was generated.
Are you having any specific issues when you try to run the MEX function on another machine?
Related Question