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