Choosing a MATLAB API for Your Application

Determine which MATLAB API to use based on your coding environment

These articles help you choose the appropriate MATLAB APIs for your application. For information about other features, see Integrate MATLAB with External Programming Languages and Systems.

For a list of supported programming languages, see MATLAB Supported Interfaces to Other Languages.

Topics

Choosing MEX Applications

Create MATLAB® functions implemented in C, C++, or Fortran.

Choosing Engine Applications

Run MATLAB code from C, C++, Java®, Fortran, and Python® programs.

Choosing Applications to Read and Write MATLAB MAT-Files

Customized programming techniques for importing and exporting data from the MATLAB workspace using MAT-files.

Custom Linking to Required API Libraries

How to custom link to libraries instead of building with the mex command.