Skip to Main Content Skip to Search
Product Documentation

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 MATLAB pool.

C(i) = {B} sets the entry of C on lab 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 labs i1 and i2.

C{i} = B sets the entry of C on lab i to the value B.

See Also

Composite | subsasgn | subsref

  


Free Parallel Computing Interactive Kit

See how to solve large problems with minimal effort and reduce simulation time.

Get free kit

Trials Available

Try the latest versions of parallel computing products.

Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS