| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → MATLAB |
| Contents | Index |
| Learn more about MATLAB |
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 .
![]() | clf | clock | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |