setmcruserdata - Associate MATLAB data value with string key
Syntax
function setmcruserdata(key, value)
Description
The function setmcruserdata(key, value) 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.
Examples
setmcruserdata(‘ParallelConfigurationFile','config.mat')
mxArray *value = mxCreateString("/usr/userdir/config.mat");
if (!SetMCRUserData(mcrID, "ParallelConfigurationFile",
"/usr/userdir/config.mat") )
{
fprintf(stderr, "Could not set PCTConfigFile MCR user
data.\n");
return -3;
}
See Also
getmcruserdata
 | mcrversion | | MATLAB Compiler Quick
Reference |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit