Error copying a figure to clipboard
조회 수: 36 (최근 30일)
이전 댓글 표시
Dear all,
I would like to copy a matlab figure to my clipboard so I can paste it in Powerpoint as a vector graphic. This is usually very simple, I just choose "metafile" in the cop options. More recently I tried the same thing getting this error message:
Error using print (line 82)
Unable to copy the figure to the clipboard. Increasing the Java Heap Size setting in the MATLAB preferences may
help; otherwise try saving to a file or choose a different clipboard format.
Error in matlab.graphics.internal.copyFigureHelper (line 158)
print(argsToPrint{:});
Error in editmenufcn (line 69)
matlab.graphics.internal.copyFigureHelper(hfig)
Error while evaluating Menu Callback.
I followed the suggestion and increased the Java thingy, up to 4 GB, still same problem. The weird thing is, it's actually a rather simple image of only 4 MB. I'd be happy to upload the .fig file here if possible.
Any hints what the problem might be?
Thanks,
Toby
댓글 수: 6
Chris_WMS
2022년 9월 2일
Hi, I'm facing the same problem in copying the METAFILE figure to Word. I'm using MATLAB 2020b in W10. Is there any solutions or any updates regards this issue?
답변 (2개)
Chihang Yang
2020년 11월 18일
I also met this problem in MATLAB 2020a.
But the problem is gone when I copy the same figure in MATLAB 2018b.
댓글 수: 1
Fanyun
2023년 2월 21일
I also met this problem in MATLAB 2021b.
But the problem is gone when I copy the same figure in MATLAB 2018b. But I want to know how to solve this problem in MATLAB 2021b. Thank you.
Samuel Abimbola Ogunfuye
2022년 10월 21일
You can use the highlighted icon in the topright in the image shown . It automatically shows when your cursor it close or on the title at the top of the image, then you can choose the copy icon. That was how I resolved mine.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Environment and Settings에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!