function simulate() global source_dir; n = 4; target = [source_dir, 'simulate.py']; tic(); runCommand(sprintf('python %s %s', target, source_dir)); toc(); end