| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| R2010b Documentation → Parallel Computing Toolbox |
| Contents | Index |
| Learn more about Parallel Computing Toolbox |
taskFinish(task)
task | The task being evaluated by the worker. |
taskFinish(task) runs automatically on a worker each time the worker finishes evaluating a task for a particular job. You do not call this function from the client session, nor explicitly as part of a task function.
The file resides in the worker's MATLAB installation at
matlabroot/toolbox/distcomp/user/taskFinish.m
You add MATLAB code to the file to define task finalization actions to be performed on the worker every time it finishes evaluating a task for this job.
Alternatively, you can create a file called taskFinish.m and include it as part of the job's FileDependencies property. The version of the file in FileDependencies takes precedence over the version in the worker's MATLAB installation.
For further detail, see the text in the installed taskFinish.m file.
jobStartup, poolStartup, taskStartup
FileDependencies, PathDependencies
| © 1984-2010- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |