User`s guide
cancel
11-15
c = parcluster();
job1 = createJob(c);
t = createTask(job1, @rand, 1, {3,3});
cancel(t)
t
Task with properties:
ID: 1
State: finished
Function: @rand
Parent: Job 1
StartTime:
Running Duration: 0 days 0h 0m 0s
ErrorIdentifier: parallel:task:UserCancellation
ErrorMessage: The task was cancelled by user "mylogin" on machine
"myhost.mydomain.com".
See Also
delete | submit