Effacer les filtres
Effacer les filtres

Pausing to Save data and Then Rerun from the Same State

5 vues (au cours des 30 derniers jours)
Kareem Elgindy
Kareem Elgindy le 2 Mai 2022
I have a code that is using parfor and is currently running for more than 6 days. Can I pause the code to save the obtained data and rerun the code later from the last state obtained at pausing?

Réponse acceptée

Raymond Norris
Raymond Norris le 3 Mai 2022
There isn't. parfor blocks MATLAB from anything else. To "stop" the parfor, you'd need to hit Ctrl-C, but then you'd stop the parfor loop for good.

Plus de réponses (0)

Catégories

En savoir plus sur Parallel for-Loops (parfor) dans Help Center et File Exchange

Tags

Produits


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by