Skip to Main Content Skip to Search
Product Documentation

DestroyJobFcn - Specify function to run when destroying job on generic scheduler

Description

DestroyJobFcn specifies a function to run when you call destroy 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 deleting the job data from disk. 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 Manage Jobs with Generic Scheduler.

Characteristics

Usage

Generic scheduler object

Read-only

Never

Data type

Function handle

Values

You can set DestroyJobFcn to any valid function handle, string of a function name, or a cell array whose first element is one of these.

See Also

Functions

destroy, getJobSchedulerData, setJobSchedulerData

Properties

CancelJobFcn, CancelTaskFcn, DestroyTaskFcn

  


Free Parallel Computing Interactive Kit

See how to solve large problems with minimal effort and reduce simulation time.

Get free kit

Trials Available

Try the latest versions of parallel computing products.

Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS