MTensor T0;mint type = MType_Real;mint dims[2];mint rank = 2;int err;...dims[0] = 5;dims[1] = 5;err = libData->MTensor_new( type, rank, dims, &T0);