MATLAB: Is the ‘FileDependencies’ property unused even when specified in the Local Scheduler Configuration Properties, when I use the BATCH function in the Parallel Computing Toolbox 4.0 (R2008b)

joblocalmanagerParallel Computing Toolboxscheduler

I have specified 'FileDependencies' in the “Local Scheduler Configuration Properties” pane under the “Job” tab. I an unable to successfully run a MATLAB script using the BATCH function, since the ‘FileDependencies’ are not picked up.
I use the following code
job=batch('dc_test','matlabpool',3) % dc_test.m is my script calling the dependent file.

Best Answer

The ability to use Configurations Properties without explicitly specifying the configuration name in the BATCH function is not available in Parallel Computing Toolbox 4.0 (R2008b).
To workaround this issue and to use the configuration's settings applied to the job properties, you must explicitly specify the configuration in the BATCH function.
job=batch('dc_test','matlabpool',3, 'configuration', 'local')