Products & Services Industries Academia Support User Community Company

Learn more about Parallel Computing Toolbox   

jobStartup - M-file for user-defined options to run when job starts

Syntax

jobStartup(job)

Arguments

job

The job for which this startup is being executed.

Description

jobStartup(job) runs automatically on a worker the first time the worker evaluates a task for a particular job. You do not call this function from the client session, nor explicitly as part of a task function.

The function M-file resides in the worker's MATLAB installation at

matlabroot/toolbox/distcomp/user/jobStartup.m

You add M-code to the file to define job initialization actions to be performed on the worker when it first evaluates a task for this job.

Alternatively, you can create a file called jobStartup.m and include it as part of the job's FileDependencies property. The version of the file in FileDependencies takes precedence over the version in the worker's MATLAB installation.

For further detail, see the text in the installed jobStartup.m file.

See Also

Functions

taskFinish, taskStartup

Properties

FileDependencies

  


Recommended Products

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