How to make autorun and auto exit
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Dear all,
I have 2 file.m ..Let say A.m and B.m..first i need to run the A.m file and at the middle running, i need load and run the B.m file.After B.m file finish, i want to autoexit the B.m file and continue with processing in A.m file untill end.. .so, how i can do like that? What the command??
0 Kommentare
Antworten (2)
Andreas Goser
am 20 Dez. 2011
Just call the B file at the line of file A where you need it. If the file name is my_script.m, the command is
my_script
1 Kommentar
Robert Cumming
am 20 Dez. 2011
i would advise you use functions - it will help in the long run and make bug fixing easier.
Siehe auch
Kategorien
Mehr zu String Parsing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!