Effacer les filtres
Effacer les filtres

How to interrupt parfeval?

1 vue (au cours des 30 derniers jours)
Michael Krauß
Michael Krauß le 15 Fév 2016
Hello,
I am working on a programm with processes streaming data. Since I cannot do it in realtime, I do it in slices: While a parallel subrouting works on the last data, I collect the newest ones with an asynchronous parfeval.
Question: I would like to put the endless data collection loop inside the parfeval to an end once the cluster is available again for a new computation iteration.
Currently I realized this via a file where I set a single bit (requiring try-catch since there might be concurring events of reading and writing). So, not very ellegant at all. Is there an easy to use alternative?
Thanks,
Michael

Réponses (0)

Catégories

En savoir plus sur Background Processing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by