Get specific user data for job on generic cluster
userdata = getJobClusterData(cluster,job)
Information that was previously stored for this job
Cluster object identifying the generic third-party cluster running the job
Job object identifying the job for which to retrieve data
userdata = getJobClusterData(cluster,job) returns data stored for the job job that was derived from the generic cluster cluster. The information was originally stored with the function setJobClusterData. For example, it might be useful to store the third-party scheduler's external ID for this job, so that the function specified in GetJobStateFcn can later query the scheduler about the state of the job.
To use this feature, you should call the function setJobClusterData in the submit function (identified by the IndependentSubmitFcn or CommunicatingSubmitFcn property) and call getJobClusterData in any of the functions identified by the properties GetJobStateFcn, DeleteJobFcn, DeleteTaskFcn, CancelJobFcn, or CancelTaskFcn.
For more information and examples on using these functions and properties, see Manage Jobs with Generic Scheduler.