This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

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.

Introduced in R2008b