How can i run multiple callback functions based on a single event?

조회 수: 4 (최근 30일)
Florian Perras
Florian Perras 2018년 2월 1일
답변: Raymond Norris 2021년 8월 31일
Hey I have the following problem. We have defined multiple Callback-Functions which are executed when an defined event occurs. The problem is, that these functions are after the occured event are executed sequentielly and not in parallel. Is there a possibility to do this in parallel?
Greetings Flo

답변 (1개)

Raymond Norris
Raymond Norris 2021년 8월 31일
If you have the Parallel Computing Toolbox, then this might not be exactly what you're looking for, but it might get you started (using parfeval): https://www.mathworks.com/matlabcentral/answers/1437009-running-two-loop-together-at-the-same-time

카테고리

Help CenterFile Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by