MATLAB Help Center
Set specific user data for job on third-party cluster
setJobClusterData(cluster,job,userdata)
cluster
Cluster object identifying the third-party cluster running the job
job
Job object identifying the job for which to store data
userdata
Information to store for this job
setJobClusterData(cluster,job,userdata) stores data for the job job that is running on the cluster cluster. You can later retrieve the information with the function getJobClusterData. 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. Or the stored data might be an array with the scheduler's ID for each task in the job.
getJobClusterData
GetJobStateFcn
For more information and examples on using these functions and properties, see Plugin Scripts for Generic Schedulers (MATLAB Parallel Server).
Introduced in R2012a
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
Europe
Asia Pacific
Contact your local office