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

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

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