This example shows how to build the example MEX file,
timestwo. Use this example to verify the build
configuration for your system.
To build a code example, first copy the file to a writable
folder, such as
c:\work, on your path:
mex command to build the MEX file.
This command creates the file
ext is the value returned by the
timestwo function takes a scalar input and
doubles it. Call
timestwo as if it were a
ans = 8