Updated Mon, 12 May 2008 07:49:43 +0000
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, email@example.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.
Bryan Raines (2023). clipboardpaste (https://www.mathworks.com/matlabcentral/fileexchange/19822-clipboardpaste), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired by: clipboardimage
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Updated version with improved functionality, especially with respect to filenames on the clipboard.