mclGetMCRUserData - Retrieve MATLAB data associated with string key of MCR instance uniquely identified by mcrID
Synopsis
extern "C"
mxArray *mclGetMCRUserData(
long mcrID,
const char *key
);
Description
This external C function retrieves the MATLAB data associated
with the string key of an MCR instance uniquely identified by mcrID. mclGetMCRUserData returns
an empty matrix if no data has been associated with the specified
key. The returned mxArray is a shared copy of
the mxArray stored in the user data table. Dispose
of this shared copy properly by calling mxDestroyArray.
This command is part of the MCR User Data interface API. For
information about this function, as well as complete examples of usage,
see Improving Data Access Using the MCR User Data Interface.
Example
mxArray *value = mclGetMCRUserData(mcrID,
"ParallelConfigurationFile");
See Also
mclSetCmdLineUserData, mclSetMCRUserData
 | mclGetLogFileName | | mclInitializeApplication |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit