To create and use a MEX file, you will need to:
- Determine and install a supported compiler for your MATLAB release. You can find supported compilers for different platform and previous releases here
- MATLAB provides a way to identify and change the default compiler that will be used to create MEX files. To know more on how to do this, click here
- Furthermore, one can get the configuration details of installed compilers that can be used to build MEX files. To learn more about this, click here
