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

 채택된 답변

Walter Roberson
Walter Roberson 2021년 12월 14일

0 개 추천

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

armin m
armin m 2021년 12월 14일
I use 2014 version
Walter Roberson
Walter Roberson 2021년 12월 14일
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()

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Background and Parallel Processing에 대해 자세히 알아보기

제품

릴리스

R2014a

질문:

2021년 12월 14일

댓글:

2021년 12월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by