case 'sge' % FIXME don't know how to pass the requirements to the SGE qsub command requirements = ''; % create the shell commands to execute matlab (one entry per line) cmdline = [... sprintf('cd \\"%s\\"\n', curPwd),... sprintf('%s -nosplash -nodisplay -r \\"%s\\...