Python Function Change Input Variable Matlab Compiler