Run Windows Engine Application - MATLAB & Simulink (original) (raw)

Main Content

This example shows how to run the C example,engwindemo.c, from the Windows® system prompt. Make note of the value of matlabroot (the folder where MATLAB® is installed) and the value returned by the MATLABcomputer('arch') command.

Set the run-time library path by modifying the system PATH variable.

set PATH=matlabroot_\bin_arch;%PATH%

Make sure that you include the ; path terminator character.

Run the example. The engwindemo application must be on your system path.

MATLAB starts and displays the results.

To close the application, click Ok in the MATLABwhos window.

See Also

computer | matlabroot

Topics