MATLAB: How to convert a matlab code to C

c standaloneMATLAB Compiler

I want to convert this to C code
function [c]= add(a,b)
c=a+b
How is the compiler used to convert this to C, i am new to this. I do not have a Matlab coder.

Best Answer

MATLAB Coder is the only product for converting MATLAB to C.
MATLAB Compiler (a different product) does not convert to C: it converts to internal data structures that are interpreted by a MATLAB engine.