Main Content

getJobClusterData

Get specific user data for job on generic cluster

Syntax

userdata = getJobClusterData(cluster,job)

Arguments

userdata

Information that was previously stored for this job

集群

Cluster object identifying the generic third-party cluster running the job

job

Job object identifying the job for which to retrieve data

Description

userdata = getJobClusterData(cluster,job)returns data stored for the jobjob这是来自通用的集群集群. The information was originally stored with the functionsetJobClusterData. For example, it might be useful to store the third-party scheduler’s external ID for this job, so that the function specified inGetJobStateFcncan later query the scheduler about the state of the job.

For more information and examples on using these functions and properties, seePlugin Scripts for Generic Schedulers.

Version History

Introduced in R2012a