| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Parallel Computing Toolbox |
| Contents | Index |
| Learn more about Parallel Computing Toolbox |
GetJobStateFcn specifies a function to run when you call get, waitForState, or any other function that queries the state of a job running on a generic scheduler. This function lets you communicate with the scheduler, to provide any instructions beyond the normal toolbox action of retrieving the job state from disk. To identify the job for the scheduler, the function should include a call to getJobSchedulerData.
The value returned from the function must be a valid State for a job, and replaces the value ordinarily returned from the original call to get, etc. This might be useful when the scheduler has more up-to-date information about the state of a job than what is stored by the toolbox. For example, the scheduler might be aware of a failure before the toolbox is aware.
For more information and examples on using these functions and properties, see Managing Jobs.
Usage | Generic scheduler object |
Read-only | Never |
Data type | Function handle |
You can set GetJobStateFcn to any valid function handle.
get, getJobSchedulerData, setJobSchedulerData
![]() | Function | HasSharedFilesystem | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |