How to call a function from MATLAB in C ++ Builder?
1 answer
The easiest way is to compile some MATLAB code into a dll library. Thus, the code from this library can be safely called from C , C++ , python , etc. applications.
How to do this is described here.
The alternative is to do the same with MATLAB Automation , however, for obvious reasons, this approach is worse, although perhaps a bit simpler. An example of such an interaction can be found here.
|