필터 지우기
필터 지우기

Report Generation: Capturing hundreds of figures

조회 수: 5 (최근 30일)
James
James 2012년 2월 28일
I'm generating a simple report, and have developed code to build 100 subplots, each with five plots, for a Matlab generated report. Unfortunatly, I can only get through about 65 of the figures before matlab barfs and crashes. I have not figured out how to trick matlab to capture the figures as they are generated so I can close them-- the eval code generates all the figures.
Suggestions?
I'm considering just engineering a stop command in to do the first fifty, then loop the figure snapshots, then capture the next 50, but it seems an inelegant way to approach the problem.

답변 (2개)

Nishaat Vasi
Nishaat Vasi 2012년 3월 5일
Did you try increasing the Java heap space?
Sometimes Report Generator causes out-of-memory issues because it stores the image snapshots in memory before publishing the entire document.

Image Analyst
Image Analyst 2012년 3월 5일
Chances are you don't need 50 or 100 open up all simultaneously. Just create one at a time. Create it, save it with export_fig(), then close it down, then repeat for all the other 99 figure windows. That way you only have one open at a time.

카테고리

Help CenterFile Exchange에서 MATLAB Report Generator에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by