# MATLAB MEX API

**Canonical:** https://apis.io/apis/matlab/matlab-mex-api/  
**Provider:** MATLAB — https://apis.io/providers/matlab/  
**Base URL:** https://www.mathworks.com/help/matlab/apiref  
**Documentation:** https://www.mathworks.com/help/matlab/call-mex-files-1.html

MATLAB MEX API is one of 13 APIs that [MATLAB](https://apis.io/providers/matlab/) publishes on the [APIs.io](https://apis.io/) network. Tagged areas include C, C++, Extensions, Fortran, and MEX. The published artifact set on APIs.io includes API documentation and an API reference.

Build MEX functions that enable calling C, C++, and Fortran code from MATLAB, with support for both the C++ MEX API and the C Matrix API.

## Machine-readable artifacts (5)

- **Documentation** — https://www.mathworks.com/help/matlab/call-mex-files-1.html
- **APIReference** — https://www.mathworks.com/help/matlab/matlab_external/cpp-mex-api.html
- **APIReference** — https://www.mathworks.com/help/matlab/matlab_external/c-mex-functions.html
- **APIReference** — https://www.mathworks.com/help/matlab/cc-mx-matrix-library.html
- **APIReference** — https://www.mathworks.com/help/matlab/ref/mex.html

## Other MATLAB APIs (12)

- [MATLAB Engine API for Python](https://apis.io/apis/matlab/matlab-engine-api-for-python/)
- [MATLAB Engine API for Java](https://apis.io/apis/matlab/matlab-engine-api-for-java/)
- [MATLAB Engine API for C++](https://apis.io/apis/matlab/matlab-engine-api-for-c/)
- [MATLAB Engine API for C and Fortran](https://apis.io/apis/matlab/matlab-engine-api-for-c-and-fortran/)
- [MATLAB Engine API for .NET](https://apis.io/apis/matlab/matlab-engine-api-for-net/)
- [MATLAB RESTful Web Services](https://apis.io/apis/matlab/matlab-restful-web-services/)
- [MATLAB Production Server RESTful API](https://apis.io/apis/matlab/matlab-production-server-restful-api/)
- [MATLAB Web App Server](https://apis.io/apis/matlab/matlab-web-app-server/)
- [MATLAB Data API for C++](https://apis.io/apis/matlab/matlab-data-api-for-c/)
- [MATLAB HTTP Interface](https://apis.io/apis/matlab/matlab-http-interface/)
- [MATLAB Compiler SDK API](https://apis.io/apis/matlab/matlab-compiler-sdk-api/)
- [ThingSpeak REST API](https://apis.io/apis/matlab/thingspeak-rest-api/)

## Tags

C, C++, Extensions, Fortran, MEX

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/matlab/matlab-mex-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/matlab/.
