clipboardpaste

Copies data from clipboard and pastes into workspace.

You are now following this Submission

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.

Cite As

Bryan Raines (2026). clipboardpaste (https://ch.mathworks.com/matlabcentral/fileexchange/19822-clipboardpaste), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: clipboardimage

Inspired: IMCLIPBOARD

Categories

Find more on Images in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

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