image thumbnail

num2clip: copy numerical arrays to clipboard

version 1.0.0.0 (821 Bytes) by Grigor Browning
Copies a numerical array to the clipboard as a tab-separated string ready for pasting.

5.5K Downloads

Updated 14 Sep 2005

No License

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 (2021). num2clip: copy numerical arrays to clipboard (https://www.mathworks.com/matlabcentral/fileexchange/8472-num2clip-copy-numerical-arrays-to-clipboard), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP2
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!