Got Matlab batch working.