run C++ program in using MATLAB

I have a main.cpp code including all necessary functions in one file (i.e., it is not a function, full code with main).
Can I run this .cpp file in MATLAB(using script/command line)?

类别

帮助中心File Exchange 中查找有关 Write C Functions Callable from MATLAB (MEX Files) 的更多信息

产品

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by