User`s guide
11 Functions — Alphabetical List
11-28
codistributed.cell
Create codistributed cell array
Syntax
C = codistributed.cell(n)
C = codistributed.cell(m, n, p, ...)
C = codistributed.cell([m, n, p, ...])
C = cell(n, codist)
C = cell(m, n, p, ..., codist)
C = cell([m, n, p, ...], codist)
Description
C = codistributed.cell(n) creates an n-by-n codistributed array of underlying
class cell, distributing along columns.
C = codistributed.cell(m, n, p, ...) or C = codistributed.cell([m, n,
p, ...]) creates an m-by-n-by-p-by-... codistributed array of underlying class cell, using
a default scheme of distributing along the last nonsingleton dimension.
Optional arguments to codistributed.cell must be specified after the required
arguments, and in the following order:
• codist — A codistributor object specifying the distribution scheme of the resulting
array. If omitted, the array is distributed using the default distribution scheme.
For information on constructing codistributor objects, see the reference pages for
codistributor1d and codistributor2dbc.
• 'noCommunication' — Specifies that no communication is to be performed when
constructing the array, skipping some error checking steps.
C = cell(n, codist) is the same as C = codistributed.cell(n, codist).
You can also use the 'noCommunication' object with this syntax. To use the default
distribution scheme, specify a codistributor constructor without arguments. For example:
spmd