delete
Remove job or task object from cluster and memory
Syntax
Description
delete( removes the job or task object,
obj)obj, from the local MATLAB® session, and removes it from the cluster's
JobStorageLocation. When the object is deleted, references
to it become invalid. You can remove invalid objects from the workspace with the
clear command. If multiple references to an object exist in
the workspace, deleting one reference to that object invalidates the remaining
references to it. Clear the remaining references from the workspace with the
clear command.
When you delete a job object, this also deletes all the task objects contained in that job. Any references to those task objects also become invalid, and you can clear them from the workspace.
If obj is an array of objects and one of the objects cannot be deleted, the other objects in the array are deleted and a warning is returned.
When you delete an object, you lose any data in the job or task object. You must use
delete only after you retrieve all required output data
from the job or task object.
Examples
Input Arguments
Version History
Introduced in R2012a