<library>Initialize[WithHandlers]
Initialize MATLAB Runtime instance associated with
library
Syntax
Description
creates a MATLAB® Runtime instance associated with the generated C/C++ shared library
bool
library
Initialize()library
using the default print and error handlers.
Call this function in your C/C++ application after calling
mclInitializeApplication
and before calling any of the
compiled functions exported by the library.
creates a MATLAB Runtime instance associated with bool
library
InitializeWithHandlers(mclOutputHandlerFcn error_handler
, mclOutputHandlerFcn print_handler
)library
and allows
you to specify functions to handle error messages and printed text. The
functions passed to
are installed in the MATLAB Runtime instance and called whenever error text or regular text
outputs.library
InitializeWithHandlers
creates a MATLAB Runtime instance associated with bool
library
InitializeWithKey(const char* session_key
)library
and allows
you to specify a hex encoded 64 byte AES decryption key. This syntax allows the
user to provide the decryption key at runtime using the C++ API rather than a
MEX loader. For more details, see mcc
-k
.
creates a MATLAB Runtime instance associated with bool
library
InitializeWithHandlersAndKey(mclOutputHandlerFcn error_handler
, mclOutputHandlerFcn print_handler
, const char* session_key
)library
and allows
you to specify an error handler, print handler, and hex encoded AES decryption
key.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2009a