Output array from Python called function
I call a MATLAB function from my python script, where the output of the MATLAB function is a 6×801 matrix. When I call the function in python however, I only get the first column (6×1 vector) as my output in python.
Inside python I call:
eng.matlab.engine.start_matlab()
X_exact = eng.testplot(randalt,nargout=1)
Where testplot is the function being called, randalt is a float input parameter to the function.I call a MATLAB function from my python script, where the output of the MATLAB function is a 6×801 matrix. When I call the function in python however, I only get the first column (6×1 vector) as my output in python.
Inside python I call:
eng.matlab.engine.start_matlab()
X_exact = eng.testplot(randalt,nargout=1)
Where testplot is the function being called, randalt is a float input parameter to the function. I call a MATLAB function from my python script, where the output of the MATLAB function is a 6×801 matrix. When I call the function in python however, I only get the first column (6×1 vector) as my output in python.
Inside python I call:
eng.matlab.engine.start_matlab()
X_exact = eng.testplot(randalt,nargout=1)
Where testplot is the function being called, randalt is a float input parameter to the function. matlab, python MATLAB Answers — New Questions