pasteTo

Paste objects in clipboard to specified container object

Syntax

clipboard.pasteTo(newContainer)

Description

The paste method pastes the contents of the Clipboard to the specified container object. The receiving container is specified through a single argument. Use of this method assumes that you placed objects in the Clipboard with the copy method.

Arguments

newContainer

The Stateflow® object to receive a copy of the contents of the Clipboard object. If the objects in the Clipboard are all graphical (states, boxes, functions, annotations, transitions, junctions), this object must be a chart or subchart.

Returns

None

Examples

See the section Copy and Paste Stateflow Objects.

Introduced before R2006a