How do I use the distcomp pause function?

3 vues (au cours des 30 derniers jours)
Qinwan Rabbani
Qinwan Rabbani le 27 Sep 2016
Supposedly, there is a function that can pause an MJSScheduler, but it doesn't seem to work. It says it is called pause, which is exactly the same as the normal pause function, but I decided I'd try anyway. What I am doing is this:
c = parcluster;
pause(c)
However, all I get is this error:
Error using pause
Unknown command option.
Does anyone know how to use this function? Source: http://www.mathworks.com/help/distcomp/pause.html

Réponse acceptée

Edric Ellis
Edric Ellis le 28 Sep 2016
Did you change your default parallel profile to point to an MJS cluster? If not, the default cluster type is Local, which does not support the pause method. See the doc for more about cluster profiles.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by