mexext
Binary MEX file-name extension
Syntax
ext = mexext
extlist = mexext('all')
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
Introduced before R2006a
Was this topic helpful?