Products & Services Solutions Academia Support User Community Company

Learn more about Parallel Computing Toolbox   

CancelJobFcn - Specify function to run when canceling job on generic scheduler

Description

CancelJobFcn specifies a function to run when you call cancel for a job 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 job. To identify the job 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.

Characteristics

Usage

Generic scheduler object

Read-only

Never

Data type

Function handle

Values

You can set CancelJobFcn to any valid function handle.

See Also

Functions

cancel, getJobSchedulerData, setJobSchedulerData

Properties

CancelTaskFcn, DestroyJobFcn, DestroyTaskFcn

  


Recommended Products

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