function CopyImage
% CopyImage(image)
% 
% Copy the matrix "image" to the clipboard in PICT format. Use this to
% pass image data from Matlab to other programs. Image data should be
% in the range 0 to 255. A grayscale image should have size MxN. An
% RGB image should have size MxNx3.
%
% Images are handled in the same way as in Screen 'PutImage'.
% 
% Also see PasteImage, SaveAsEps, and Screen 'SaveAsEps'.

% 8/19/94		dhb		Link in new pixmap handling code.
% 5/22/02		dgp		Rewritten to be compatible with Screen PutImage.
