Publish with no output to screen
10 ビュー (過去 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 で Environment and Settings についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!