Main Content
mexext
Binary MEX file-name extension
Description
Examples
Output Arguments
Tips
To use the MEX file-name extension in makefiles or scripts outside MATLAB®, type one of the following from the system command prompt. The script is located in the
folder.matlabroot
\binmexext.bat
—Windows platform.mexext.sh
—UNIX® platform.For example, the following commands are in a GNU® makefile.
ext = $(shell mexext) yprime.$(ext) : yprime.c mex yprime.c
Extended Capabilities
Version History
Introduced before R2006a