Hi. I have 4 m file which i should run them all in order continiously. How can i run them all together. Tnx

 Respuesta aceptada

Walter Roberson
Walter Roberson el 14 de Dic. de 2021

0 votos

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 comentarios

armin m
armin m el 14 de Dic. de 2021
I use 2014 version
Walter Roberson
Walter Roberson el 14 de Dic. de 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()

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Background and Parallel Processing en Centro de ayuda y File Exchange.

Productos

Versión

R2014a

Preguntada:

el 14 de Dic. de 2021

Comentada:

el 14 de Dic. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by