This example shows how to build the example
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 on your path.
mex command to build the
Building with 'Microsoft Visual C++ 2012 (C)'. MEX completed successfully.
This command creates the file
ext is the value returned by the
timestwo function takes a scalar
input and doubles it. Call
timestwo like a MATLAB® function.
ans = 8