User`s guide
17-3
Vectorized Task Creation
The createTask function can now create a vector of tasks in a single call when you
provide a cell array of cell arrays for input arguments. For full details, see the createTask
reference page.
Compatibility Considerations
In previous versions of the distributed computing products, if your task function had an
input argument that was a cell array of cell arrays, your code will need to be modified to
run the same way in this release.
For example, your old code may have been written as follows so that the function myfun
gets four cell array input arguments:
createTask(j, @myfun, 1, {{C1} {C2} {C3} {C4}})
In this new version, the same code will produce four tasks. To get the old functionality,
you must wrap the four cell arrays in another cell array, so that createTask knows to
create only one task.
createTask(j, @myfun, 1, { {{C1} {C2} {C3} {C4}} })
Additional Submit and Decode Scripts
There are several submit and decode functions provided with the toolbox for your use
with the generic scheduler interface. These files are in the directory
matlabroot/toolbox/distcomp/examples/integration
This version of the toolbox includes new subdirectories for Platform LSF and PBS, to
support network configurations in which the client and worker computers do not share
a file system. For more information, see Supplied Submit and Decode Functions in the
Distributed Computing Toolbox documentation.
Jobs Property of Job Manager Sorts Jobs by ID
The Jobs property of a job manager object now contains the jobs in the order in which
they were created, as indicated by the ID property of each job. Similarly, the findJob