This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Build Windows Engine Application

This example shows how to verify the build process on Windows® platforms using the C example engwindemo.c.

Start MATLAB® as a user with administrator privileges. Based on your User Account Control (UAC) settings, you might need to right-click the MATLAB icon and select Run as administrator. If that option is not available, contact your system administrator.

Register MATLAB as a COM server.

!matlab -regserver

MATLAB displays a second, minimized command window. Close that window.

Verify your current folder is writable and copy the example.


Choose a compiler, if necessary.

mex -setup -client engine C

Build the application.

mex -v -client engine engwindemo.c

See Also

Related Examples

More About