问题 I'm trying to use MATLAB engine to call a MATLAB function in Python, but I'm having some problems. After manage to deal with NumPy arrays as input in the function, now I have some error from MATLAB: MatlabExecutionError: Undefined function 'simple_test' for input arguments of type 'int64'. My Python code is: import numpy as np import matlab import matlab.engine eng = matlab.engine.start_matlab() eng.cd() Nn = 30 x= 250*np.ones((1,Nn)) y= 100*np.ones((1,Nn)) z = 32 xx = matlab.double(x.tolist(