mwArray API Shared Library Integration
mwArray API supports only C++03 functionality. C++
shared libraries that use the
mwArray 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++ driver code and
MATLAB Runtime. These functions are described under C/C++
API. The functions listed under C++
mwArray API are
specific to the
mwArray API and cannot be used for shared
libraries created for other APIs.
|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 |
|Free all resources allocated by MATLAB Runtime instance
associated with |
|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 started with instance of Java Virtual Machine (JVM)|
|Determine if |
C++ mwArray API
Create and Implement a C++ mwArray API Shared Library
Create a C++ mwArray API shared library from MATLAB code and implement it with sample C++ driver code.
Integrate a C++ Shared Library with a C++ Driver Application
How to configure the
mbuild options file.
Use MATLAB Compiler SDK™ API functions for C/C++ to assimilate shared libraries in driver code.
Create and distribute C++ shared libraries that use the
Use multiple generated shared libraries in a single C/C++ application.
Mac OS X
Write deployable C++ applications specifically for macOS.
Install, configure, and uninstall MATLAB Runtime.
Define paths for machines where you want to run applications generated with MATLAB Compiler™ or MATLAB Compiler SDK.
Set MATLAB Runtime options, such as
Override the default archive embedding behavior, and use MATLAB Runtime component cache.