I'm calling a MATLAB script from python using
ml = matlab.engine.start_matlab()
output = ml.myMATLABscript(input1, input2)
The script runs fine in MATLAB, but when I call it from Python it runs into int vs double issues. So far I've been fixing this by interpreting the error message when the script crashes, but it would be nice to see what's going on specifically. For this purpose, I'd like to be able to step through the MATLAB code line for line, even though I've called it from Python.