Python Function Change Input Variable Matlab Website