run scripts in sequence

39 views (last 30 days)
Ubu
Ubu on 7 Mar 2012
Hi,
A very simple question:
We have three scripts - script1.m script2.m script3.m
Each of them would last aprrox 2 hours, they are independent to each other, and we just want them to run overnight for us.
What would be the easiest solution?
Thank you very much for your attention!
ubu

Accepted Answer

Sean de Wolski
Sean de Wolski on 7 Mar 2012
script4.m
%The contents of scipt4.m
script1;
script2;
script3;

More Answers (2)

the cyclist
the cyclist on 7 Mar 2012
Type the following on the command line:
script1; script2; script3

Ubu
Ubu on 7 Mar 2012
Na klar!
Thanks guys..

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!