This API function is obsolete and is not supported in MATLAB 5 or later. If you need to use this function in existing code, use the -V4 option of the mex script.
-V4
mex
Use
if(!mxIsSparse(prhs[0]))
instead of
if(mxIsFull(prhs[0]))
See Also
mxIsSparse