copy

Copy specified array of objects to clipboard

Syntax

cbObj.copy(objArray)

Description

The copy method copies the specified objects to the clipboard. Objects to copy are specified through a single argument array of objects.

Later, complete the copy operation by invoking the pasteTo method.

Arguments

cbObj

The Clipboard object to copy to.

objArray

Array of Stateflow® objects to copy. These objects must conform to the following:

  • The objects copied must be all graphical (states, boxes, functions, transitions, junctions) or all nongraphical (data, events).

  • If all objects are graphical, they must all be seen in the same subviewer.

Returns

None

Introduced before R2006a