Hi Yair,
It is a bit strange to me that, when exporting to the clipboard, a file name must be provided to avoid an error, or so I find with this example,
Error using matlab.graphics.axis.Axes/get
Unrecognized property FileName for class Axes.
Error in export_fig>parse_args (line 1977)
options.name = get(fig,'FileName');
Error in export_fig (line 399)
[fig, options] = parse_args(nargout, fig, argNames, varargin{:});
Error in test (line 12)
export_fig(hax,'-transparent','-clipboard')
Hi Yair, It is a bit strange to me that, when exporting to the clipboard, a file name must be provided to avoid an error, or so I find with this example,
results in