Straightforward COPY and PASTE functions

Allows very simple manual exchange with other applications through the clipboard.

Download
Download

You are now following this Submission

Editor's Note: This file was selected as MATLAB Central Pick of the Week

Cite As

Yvan Lengwiler (2026). Straightforward COPY and PASTE functions (https://www.mathworks.com/matlabcentral/fileexchange/28016-straightforward-copy-and-paste-functions), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: num2clip: copy numerical arrays to clipboard

Inspired: To Latex

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

Copy now supports figures.

Download
1.12.0

bug fix

Download
1.11.0

Corrected a bug that Jiro Doke found (Thank you, Jiro). In addition, copy() now also supports logical arrays.

Download
1.10.0

small bug-fix

Download
1.9.0

Support for table variables (suggestion by Greg).

Download
1.7.0

Three new options are implemented, with allow the handling of unusually formatted numbers or separators (following a suggestion by arnold).

Download
1.5.0

The paste function now tries to identify non-conventional decimal and thousand separators.

Download
1.4.0

Special treatment of empty cells (following a suggestion by Joseph Burgel).

Download
1.3.0

small improvemnt of efficiency

Download
1.2.0

copy now also handles multi-line character arrays

Download
1.1.0

Fixed a small bug in 'paste' and expanded help text.

Download
1.0.0

Download