num2clip: copy numerical arrays to clipboard
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 (2025). 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
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: clip2cell, MAT2CLIP, Straightforward COPY and PASTE functions
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | Keyword update. |