Create matlab.py

main fuction