Main Content

subsref

Subscripted reference for Composite

Syntax

B = C(i)
B = C([i1,i2,...])
B = C{i}
[B1,B2,...] = C{[i1,i2,...]}

Description

subsref retrieves remote values of a Composite object from the workers in the current parallel pool.

B = C(i) returns the entry of Composite C from worker i as a cell array.

B = C([i1,i2,...]) returns multiple entries as a cell array.

B = C{i} returns the value of Composite C from worker i as a single entry.

[B1,B2,...] = C{[i1,i2,...]} returns multiple entries.

Introduced in R2008b