num2clip: copy numerical arrays to clipboard

Copies a numerical array to the clipboard as a tab-separated string ready for pasting.

You are now following this Submission

Editor's Note: This file was a File Exchange Pick of the Week

A basic extension to the existing MATLAB function clipboard.m. This function allows a numerical array of any size to be copied to the clipboard ready for pasting (to say Word or Excel).

The array is copied as a tab-separated string with carriage-returns separating subsequent rows.

I suspect someone may have created this already but I can't find anything on the exchange. Sorry if I am duplicating code.

Cite As

Grigor Browning (2026). num2clip: copy numerical arrays to clipboard (https://www.mathworks.com/matlabcentral/fileexchange/8472-num2clip-copy-numerical-arrays-to-clipboard), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Environment and Settings 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

Keyword update.