Create C Engine Applications Using mxArray - MATLAB & Simulink (original) (raw)
To build a C engine application, you need:
- The ability to write C source code. You can create these files with the MATLABĀ® Editor.
- A compiler supported by MATLAB. For an up-to-date list of supported compilers, see Supported and Compatible Compilers.
- C Matrix API functions. However, the
mxGetProperty
andmxSetProperty
functions are not supported for standalone applications. - C Engine Library functions. For more information, see MATLAB Engine APIs for C and Fortran.
- The mex build script with the
-client engine
option. - To use your own build tools, see Build Engine Applications with IDE.
To run the application:
- Set Run-Time Library Path on Windows Systems
- Register MATLAB as a COM Server
- Set Run-Time Library Path on macOS Systems
- Set Run-Time Library Path on Linux Systems