| Contents | Index |
PathDependencies identifies directories to be added to the top of the path of MATLAB worker sessions for this job. If FileDependencies are also used, FileDependencies are above PathDependencies on the worker's path.
When you specify PathDependencies at the time of creating a job, the settings are combined with those specified in the applicable configuration, if any. (Setting PathDependencies on a job object after it is created does not combine the new setting with the configuration settings, but overwrites existing settings for that job.)
Usage | Scheduler job object |
Read-only | Never |
Data type | Cell array of strings |
PathDependencies is empty by default. For a mixed-platform environment, the strings can specify both UNIX-based and Microsoft Windows-based paths; those not appropriate or not found for a particular node generate warnings and are ignored.
For alternative means of making data available to workers, see Share Code.
Set the MATLAB worker path in a mixed-platform environment to use functions in both the central repository (/central/funcs) and the department archive (/dept1/funcs).
sch = findResource('scheduler','name','LSF')
job1 = createJob(sch)
p = {'/central/funcs','/dept1/funcs', ...
'\\OurDomain\central\funcs','\\OurDomain\dept1\funcs'}
set(job1, 'PathDependencies', p)
ClusterMatlabRoot, FileDependencies

See how to solve large problems with minimal effort and reduce simulation time.
Get free kit| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |