Create Matlab script