convert matlab engine array `x` to a numpy ndarray,np.array(x._data).reshape(x.size[::-1]).T