}
}
mlArray = struct;
break;
case MLArray.mxCELL_CLASS:
MLCell cell = new MLCell(name, dims, type, attributes);
for ( int i = 0; i < cell.getM()*cell.getN(); i++ )
{
tag = new ISMatTag(buf);
//read matrix recursively
MLArray cellmatrix = readMatrix( buf, false);
cell.set(cellmatrix, i);
}
mlArray = cell;
break;
case MLArray.mxDOUBLE_CLASS:
mlArray = new MLDouble(name, dims, type, attributes);