User`s manual

2 Creating C Language MEX-Files
2-36
MATLAB displays the following warning message.
Warning: One or more output arguments not assigned during call to
'foo'.
If you then call foo using mexCallMATLAB, the unassigned output variable will
now be of type
mxUNKNOWN_CLASS.