Contents Previous Next Subchapters

Transferring Data From The System Clipboard
Syntax paste
See Also copy , atod

Description
Returns a character matrix containing the text data that is currently stored in the system clipboard. If the clipboard is empty or does not contain text, the paste function returns an empty row vector .

A line of text in the clipboard is terminated by a carriage return, a line feed, or both. Each line is left justified in the corresponding row of the return value and spaces are used to fill on the right.

Example
If an O-Matrix editor window contains the text
     The paste command can be used
     to transfer data from other programs.
and you highlight it using the mouse, then select Edit | Copy from the menu, and then enter the command
     paste
The text will be printed in the Command window.