Publish with no output to screen
조회 수: 5 (최근 30일)
이전 댓글 표시
Hi all.
I'm using publish to create a number of figures by a loop. When i do this the figures pop up on screen and I don't want that. I haven't been able to find out how to turn this off. Can someone help?
Thanks
댓글 수: 0
채택된 답변
Walter Roberson
2011년 5월 26일
I don't know if this will work, but you could try
set(0,'DefaultFigureVisibility','off')
Any figure created after that (in the session) should, in theory, need to be explicitly set to Visibility on in order to display on the screen.
댓글 수: 3
추가 답변 (1개)
Mads
2011년 5월 26일
댓글 수: 1
Walter Roberson
2011년 5월 26일
Sorry, I do not know how publish works internally.
The circumstances under which the "print" command can work without a display are described in the documentation for "print". I do not know, though, if it is "print" that is used by publish.
참고 항목
카테고리
Help Center 및 File Exchange에서 Graphics Object Identification에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!