MATLAB Function Reference    
clipboard

Copy and paste strings to and from the system clipboard.

Graphical Interface

As an alternative to clipboard, use the Import Wizard. To use the Import Wizard to copy data from the clipboard, select Paste Special from the Edit menu.

Syntax

Description

CLIPBOARD('copy', data) sets the clipboard contents to data. If data is not a character array, clipboard uses mat2str to convert it to a string.

STR = CLIPBOARD('paste') returns the current contents of the clipboard as a string or as an empty string (' '), if the current clipboard content cannot be converted to a string.

DATA = CLIPBOARD('pastespecial') returns the current contents of the clipboard as an array using uiimport.

See Also

load, uiimport


 clf clock