Hide figures while copying them into Excel

for i = 1:max
fh = figure;
plot(data);
print(fh, '-dbitmap');
xls.Range(figRange).PasteSpecial;
end
How can I modify the code above so the figures won't show up while copying them into an Excel sheet?
I have tried
set(fh,'Visible','off','CreateFcn','set(plotH(i),''Visible'',''on'')');
but did not work out.

Respuestas (0)

La pregunta está cerrada.

Preguntada:

el 4 de Mayo de 2015

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by