subsasgn
Subscripted assignment for Composite
Syntax
C(i) = {B}
C(1:end) = {B}
C([i1,i2]) = {B1,B2}
C{i} = B
Description
subsasgn
assigns remote values to Composite objects. The values
reside on the workers in the current parallel pool.
C(i) = {B}
sets the entry of C
on worker
i
to the value B
.
C(1:end) = {B}
sets all entries of C
to
the value B
.
C([i1,i2]) = {B1,B2}
assigns different values on workers
i1
and i2
.
C{i} = B
sets the entry of C
on worker
i
to the value B
.
Version History
Introduced in R2008b