num2clip board with column names

Version (1.49 KB) by Roberto
Easy function to copy a numeric array to the clipboard, allowing to write costum column names.


Updated 28 Apr 2014

View License

NUM2CLIP copies a numerical-array to the clipboard

sArray = num2clip(nArray)
sArray = num2clip(nArray,'Name 1','Name 2'... 'Name n')

Copies the numerical array to the clipboard adds column names if passed
as arguments, suitable for paste in MsExcel.

Author: Roberto Cifuentes
Last update: 2014-04-27
Especial thanks to: Grigor Browning for previous code.

Cite As

Roberto (2023). num2clip board with column names (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
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

Little bug unnoticed, now it works fine