I have created a distributed job using DFEVAL as shown below:
y = dfeval(@tester,{},'JobManager','myJM','FileDependencies', {'tester.m'});
where the function TESTER can be any task that takes a long time to execute, such as:
function out = tester out = 1; pause(50);
I want to cancel this job midway through its execution.
Best Answer