MATLAB Compiler SDK™ enables you to create C shared libraries from MATLAB functions.
Shared libraries that use the
mxArray API have an interface
that uses C-style functions to initialize the MATLAB Runtime, load the packaged MATLAB functions into the MATLAB Runtime, and manage data that is passed between the C code and the MATLAB Runtime. For an example, see Implement a C Shared Library with a Driver Application.
|Compile and link source files against MATLAB generated shared libraries|
|Initialize the MATLAB Runtime proxy library|
|Set up application state shared by all MATLAB Runtime instances created in current process|
|Close MATLAB Runtime-internal application state|
|Initialize MATLAB Runtime instance associated with library|
|Free all resources allocated by MATLAB Runtime instance associated with library|
|Mechanism for creating identical wrapper code across all platforms|
|Determine if MATLAB Runtime has been properly initialized|
|Enable deployed applications to process graphics events, enabling figure windows to remain displayed|
|Last error message from unsuccessful function call|
|Retrieve name of log file used by MATLAB Runtime|
|Determine if MATLAB Runtime was launched with instance of Java Virtual Machine (JVM)|
|Determine if -nodisplay mode is enabled|
Learn how to create a C shared library.
Use the command-line compiler to create C/C++ shared libraries.
Call a C shared library built with MATLAB Compiler SDK from a C driver application.
Use one or more MATLAB Compiler SDK generated C shared libraries in your C application.
Use MATLAB Compiler SDK API functions for C/C++ to assimilate shared libraries in driver code.
Compile the C driver code and shared libraries, and test the C application.
Use multiple generated shared libraries in a single C/C++ application.
Write deployable C++ applications specifically for macOS.
Path settings to develop and test applications containing packaged MATLAB code.
Set MATLAB Runtime options, such as
Override the default archive embedding behavior, and use MATLAB Runtime component cache.