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++:
call matlab engine directly.
the target machine needs have matlab installed. check out call matlab functions c , c++ applications more info , examples.
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
Post a Comment