copy - Copy the specified array of objects to the 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, targets).

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

Returns

None

Example

See Copying Objects.

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS