Reputation: 59
This is a very simple question: I have several MATLAB scripts that I want to run, each of which takes several hours. How can I make them all run in a row (so that script 2 starts after script 1 ends, script 3 starts after script 2 ends, etc.)?
Sorry if this was been answered! I was unable to find the relevant posts on this board.
Thanks!
Upvotes: 2
Views: 2283
Reputation: 12689
Copy the script name into one file,
run script1.m;
run script2.m;
and run the file
Upvotes: 1