End Python Command Input In Matlab