I am using MATLAB's C interface and would like to retrieve a variable that is a MATLAB object. However, when I use engGetVariable or mexGetVariable to retrieve one, an application error is thrown with the dialog:
The instruction at "0x78806af2" referenced memory at "0x000000040". The memory could not be "read".
Best Answer