MATLAB: MATLAB to C/C++

cMATLAB Compiler

I have written a software in MATLAB code. But I want to run it in a machine with MATLAB not installed. How is it possible? I converted it into pcode, but the file still requires MATLAB to run, if not the .m file.Moreover, my MATLAB compiler is not really working.Thanks in advance.

Best Answer

  • You can use MATLAB Compiler to deploy your application to a standalone executable. You can then give this to anyone and they can run it without MATLAB installed (though they will have to install the free MCR).
    Alternatively, you can use MATLAB Coder to generate portable C-code from your MATLAB algorithm.