Modify Matlab batch