How to execute a Matlab script from C++

后端 未结 3 870
时光说笑
时光说笑 2020-12-10 08:12

I have a C++ program in Visual Studio that records data and saves it into a file. I want to do some Matlab analysis reading from that file and save the results in a separate

3条回答
  •  被撕碎了的回忆
    2020-12-10 08:41

    You can start a matlab engine from within a program, and run matlab scripts using matlab engine API.

    see documentation at: http://www.mathworks.com/help/matlab/calling-matlab-engine-from-c-c-and-fortran-programs.html

提交回复
热议问题