function CopyText(M,label)
% CopyText(M,[label])
% 
% Copy the matrix M to the clipboard in tab delimited
% format.  Use this to pass data from Matlab to
% spreadsheets, graphing programs, etc.
%
% If a label argument is given, it should be a string
% array of tab delimited substrings.  The number of
% substrings should match the number of columns in M.
% In this case, the strings are copied as column labels.
% This feature is handy for indicating what the data are
% when you copy them to a spreadsheet.
%
% 3/2/99  dhb  Added comment about label, which was missing.


