MATLAB: C++ and matlab cMATLAB how can i complie and run c++ code into matlab Best Answer hi,Use mex check this link https://in.mathworks.com/help/matlab/ref/mex.html?searchHighlight=mex%20c%20code&s_tid=doc_srchtitle Related SolutionsMATLAB: Linking MATLAB and C++ They work in different directions:MEX is to call C++ code from the MATLAB environment.http://www.mathworks.com/help/matlab/programming-interfaces-for-c-c-fortran-com.htmlMATLAB Engine is to call MATLAB functionality from the C++ code using the engine API.http://www.mathworks.com/help/matlab/matlab_external/using-matlab-engine.html#f26499 MATLAB: C++ compiler You can reference the list of supported compilers for the current release of MATLAB:http://www.mathworks.com/support/compilers/R2010b/win64.htmlThe only supported compilers for 64-bit MATLAB on Windows using MATLAB Compiler are the Microsoft Visual C++ compilers. Related QuestionCompile C++ for Unix environmentHow to generate C code in matlab?C++ compilation error
Best Answer