Filter löschen
Filter löschen

Run 4 m file together

1 Ansicht (letzte 30 Tage)
armin m
armin m am 14 Dez. 2021
Kommentiert: Walter Roberson am 14 Dez. 2021
Hi. I have 4 m file which i should run them all in order continiously. How can i run them all together. Tnx

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 14 Dez. 2021
If you are using R2021b or later, you can potentially run all of them at the same time using the new backgroundpool feature.
Note that functions run in a background pool do not have access to the display.
If you just need to run them in sequence, then
while true
FirstFileName;
SecondFileName;
ThirdFileName;
FourthFileName;
end
  2 Kommentare
armin m
armin m am 14 Dez. 2021
I use 2014 version
Walter Roberson
Walter Roberson am 14 Dez. 2021
Then if you need to run them simultaneously you would need to use the Parallel Computing Toolbox, and use either parfeval() or parfevalOnAll() or spmd()

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Develop Apps Using App Designer finden Sie in Help Center und File Exchange

Produkte


Version

R2014a

Community Treasure Hunt

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

Start Hunting!

Translated by