Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Hide figures while copying them into Excel

2 vues (au cours des 30 derniers jours)
Adam
Adam le 4 Mai 2015
Clôturé : MATLAB Answer Bot le 20 Août 2021
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.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by