num2clip: copy numerical arrays to clipboard

Copies a numerical array to the clipboard as a tab-separated string ready for pasting.
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 (2024). 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
Find more on Environment and Settings in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

Keyword update.