Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Hide figures while copying them into Excel

조회 수: 2 (최근 30일)
Adam
Adam 2015년 5월 4일
마감: MATLAB Answer Bot 2021년 8월 20일
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.

답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by