| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Parallel Computing Toolbox |
| Contents | Index |
| Learn more about Parallel Computing Toolbox |
CancelTaskFcn specifies a function to run when you call cancel for a task running on a generic scheduler. This function lets you communicate with the scheduler, to provide any instructions beyond the normal toolbox action of changing the state of the task. To identify the task for the scheduler, the function should include a call to getJobSchedulerData.
For more information and examples on using these functions and properties, see Managing Jobs.
Usage | Generic scheduler object |
Read-only | Never |
Data type | Function handle |
You can set CancelTaskFcn to any valid function handle.
cancel, getJobSchedulerData, setJobSchedulerData
CancelJobFcn, DestroyJobFcn, DestroyTaskFcn
![]() | CancelJobFcn | CaptureCommandWindowOutput | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |