User`s guide

11 Functions — Alphabetical List
11-268
recreate
Create new job from existing job
Syntax
newjob = recreate(oldjob)
newjob = recreate(oldjob,'TaskID',ids)
Arguments
newjob New job object.
oldjob Original job object to be duplicated.
'TaskID' Option to include only some tasks
ids Vector of integers specifying task IDs
Description
newjob = recreate(oldjob) creates a new job object based on an existing job,
containing the same tasks and settable properties as oldjob. The old job can be in any
state; the new job state is pending.
newjob = recreate(oldjob,'TaskID',ids) creates a job object containing the
tasks from oldjob that correspond to the tasks with IDs specified by ids, a vector of
integers. Because communicating jobs have only one task, this option supports only
independent jobs.
Examples
Recreate an Entire Job
This example shows how to recreate the entire job myJob.
newJob = recreate(myJob)