run scripts in sequence

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

 采纳的回答

script4.m
%The contents of scipt4.m
script1;
script2;
script3;

更多回答(2 个)

Type the following on the command line:
script1; script2; script3

类别

帮助中心File Exchange 中查找有关 Electrical Block Libraries 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by