Matlab Function String Input Python Code