File Exchange

image thumbnail


version 1.0 (4.27 KB) by

Copies data from clipboard and pastes into workspace.



No License

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,, 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.

Comments and Ratings (3)

Az Nephi

Very Very Useful

Toby Hijzen

i second that

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!

MATLAB Release
MATLAB 7.3 (R2006b)

Inspired by: clipboardimage


Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video