Build Engine Application on macOS - MATLAB & Simulink (original) (raw)

Main Content

This example shows how to verify the build process on a macOS platform using the C example engdemo.c.

Open MATLABĀ®.

Verify your current folder is writable and copy the example.

copyfile(fullfile(matlabroot,'extern','examples','eng_mat','engdemo.c'),'.','f')

Build the application.

mex -v -client engine engdemo.c

See Also

mex

Topics