3.4. Using the Matlab Add-In for Visual Studio Method

Method II. Use the Matlab Add-In strategy to embed Matlab functions into the VC++ environment; the Matlab functions can be modified in the VC++ environment.

3.4.1. Using M-Files in Visual C++ Development System

Many Matlab applications require the use of Visual C++ Development System as part of the development process. Common examples include generation of standard-alone C/C++ applications from M-files, creation and debugging of C-MEX files for Matlab, and the integration of legacy M-files in C++ applications.

The Matlab Add-In for Visual Studio automates the task of bringing Matlab code into Visual C++. It streamlines Visual C++ projects by setting the library and including paths, defining ...

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.