https://de.mathworks.com/help/matlab/matlab_external/limitations-to-the-matlab-engine-for-python.html This makes the analysis completely in Python impossible, at least as long as the motion correction is not ported to Python.