double[,] Temp1 = new double[1,3];
Temp1= (double[,])((MWNumericArray)mwArgout[1]).ToArray(MWArrayComponent.Real);
---------------output from MATLAB, this is array
----------------- Convert to MWNumericArray
---------Convert to C# Array
----------Define as C# Array and each element is double type.
-------- Temp1 is a array, and each element is double type