Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the 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.

Was this topic helpful?