MATLAB Answers

How do I use the distcomp pause function?

10 views (last 30 days)
Qinwan Rabbani
Qinwan Rabbani on 27 Sep 2016
Answered: Edric Ellis on 28 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

  0 Comments

Sign in to comment.

Accepted Answer

Edric Ellis
Edric Ellis on 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.

  0 Comments

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!