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

4 visualizaciones (últimos 30 días)
Florian Perras
Florian Perras el 1 de Feb. de 2018
Respondida: Raymond Norris el 31 de Ag. de 2021
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

Respuestas (1)

Raymond Norris
Raymond Norris el 31 de Ag. de 2021
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

Categorías

Más información sobre Interactive Control and Callbacks en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by