1 2 3 4 5 6 7 8 9 10
function simulate() global source_dir; n = 4; target = [source_dir, 'simulate.py']; tic(); runCommand(sprintf('python %s %s', target, source_dir)); toc(); end