| Contents | Index |
clipboard('copy', data)
str = clipboard('paste')
data = clipboard('pastespecial')
clipboard('copy', data) sets the clipboard contents to data. If data is not a character array, the clipboard uses mat2str to convert data to a string.
str = clipboard('paste') returns the current contents of the clipboard as a string or, if MATLAB cannot convert the current clipboard contents to a string, as an empty string (' ').
data = clipboard('pastespecial') returns the current contents of the clipboard as an array by using uiimport.
The clipboard function requires Sun Microsystems Java software.
Use the Import Wizard to copy data from the clipboard by choosing Edit > Paste to Workspace .

Explore how to use MATLAB to make advancements in engineering and science.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |