Python Use Function Output Matlab Onramp