3.5. Using the Matlab Engine Method
Method III. Use the Matlab Engine method, a method equivalent to an ActiveX method.
The Matlab Engine method uses the Matlab Engine library to communicate with Matlab functions.
3.5.1. Communication with Matlab
On UNIX, the engine library communicates with the Matlab engine using pipes, and, if needed, rsh for remote execution. On Microsoft Windows, the engine library communicates with Matlab using ActiveX. ActiveX and DDE Support documentation contains a detailed description of ActiveX.
By using the Matlab Engine library method, the interface between VC++ and Matlab is relatively easier. Just like the ActiveX control, after calling into the Matlab environment to execute some functionalities in Matlab, VC++ ...
Get Applications Interface Programming Using Multiple Languages: A Windows® Programmer's Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.