I'm compiling some MATLAB functions into a C DLL. The exported mlf
functions return a boolean value representing whether the function succeeded or not. When the return value is false, I want to find out the error information. I couldn't find a way to do that! (other than compiling and exporting the lasterror()
function).
Is there a C interface to get the last error generated by MATLAB's runtime?