5.0

5.0 | 2 ratings Rate this file 11 downloads (last 30 days) File Size: 4.27 KB File ID: #19822

clipboardpaste

by Bryan Raines

 

05 May 2008 (Updated 12 May 2008)

No BSD License  

Copies data from clipboard and pastes into workspace.

Download Now | Watch this File

File Information
Description

Retrieves data from the clipboard. The clipboard data may be of several types and it is encapsulated in a self-describing structure. This function is based on clipboardimage, by Saurabh Kumar, saurabhkumar_@rediffmail.com, with heavy modifications to address various cross-platform issues. Tested on Windows XP, Mac OS 10.5, but should work on various versions of Linux.

New: You can paste file handles (with path) from the clipboard. You can either use the clipboardpaste function, or the new convenience function clipfile.

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
clipboardimage

MATLAB release MATLAB 7.3 (R2006b)
Other requirements Requires Java (and an X display on Unix/Linux).
Zip File Content  
Other Files clipboardpaste/clipboardpaste.m,
clipboardpaste/clipfile.m
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
17 May 2008 Are Mjaavatten

Very neat pair of utilities. Intuitive and easy to use. Clipboardpaste lets you copy a variety of data types from external sources into Matlab in a structured and unified way. Clipfile gives you full filenames, with path, in one operation. This ought to be part of standard Matlab in future versions!

20 Nov 2009 Toby Hijzen

i second that

Please login to add a comment or rating.
Updates
12 May 2008

Updated version with improved functionality, especially with respect to filenames on the clipboard.

Tag Activity for this File
Tag Applied By Date/Time
clipboard Bryan Raines 22 Oct 2008 10:00:07
data Bryan Raines 22 Oct 2008 10:00:07
selfdescribing structure Bryan Raines 22 Oct 2008 10:00:07
function Bryan Raines 22 Oct 2008 10:00:07
utility Bryan Raines 22 Oct 2008 10:00:07
image p Bryan Raines 22 Oct 2008 10:00:07
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com