run scripts in sequence

26 次查看(过去 30 天)
Ubu
Ubu 2012-3-7
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

采纳的回答

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

更多回答(2 个)

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

Ubu
Ubu 2012-3-7
Na klar!
Thanks guys..

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by