Hello everybody,
I'm creating an app that generate a Word Report. I use a function inspired by Word_Example from MATLAB File Exchange. I've just modified some things to customize my report.
But when I use this to copy my figure (this is a part of my function CreateWord) :
figtoprint=figure(1); %opens new figure windowprint(figtoprint,'-dmeta'); %print figure to clipboardinvoke(word.Selection,'Paste'); %paste figure to Wordclose Figure
I have this on my Word document
Lot of white space and my fig is not complete…
My function CreateWorld is used in my mainScript named ReporActi (at the end). I generate my figure in this script, like this :
TAB(1)=figure;uitable('Data',T{:,:},'ColumnName',T.Properties.VariableNames,... 'RowName',T.Properties.RowNames,'Units','Centimeters', 'Position',[0, 4, 15, 5]);
Thank you very much,
AL
Best Answer