To generate C/C++ or MEX code from MATLAB® algorithms, you must install the following software:
MATLAB Coder™ product
C/C++ compiler