windows - How to execute a Matlab function in MS Visual C++? -


i have 2 separate functions 1 in ms visual c++ , in matlab. how execute matlab file in ms visual? there windows function load .m file , execute straightly?

two ways run matlab code in c++:

  1. call matlab engine directly.

    the target machine needs have matlab installed. check out call matlab functions c , c++ applications more info , examples.

  2. distribute matlab code independent shared library (dlls).

    the target machine needs have matlab compiler runtime. check out here on how (with detail steps , example).


Comments

Popular posts from this blog

javascript - How to name a jQuery function to make a browser's back button work? -

collision detection - C++ library for mesh to mesh intersection: what is available? -

python - Django-easy-pdf: xhtml2pdf reporting reportlab 2.2+ is required, but 3.0 installed -