Documentation

Workflow to Integrate with a C++ Shared Library that Uses the MATLAB Data API

The workflow to create a C++ shared library that uses the MATLAB® Data API can be summarized as follows:

  1. Package your MATLAB code into an archive (.ctf) file using the Library Compiler app.

  2. Write C++ driver code using the generic interface. For more information, see Writing C++ Driver Code Using the C++ MATLAB Data Array API.

  3. Link the driver code against header files provided with MATLAB Runtime.

  4. Run your application.

For an example of this workflow, see Generate a C++ MATLAB Data API Shared Library and Build a C++ Application.

Related Topics