MATLAB Answers

Is it possible to disable figure/plot visibility while publishing a Matlab Script with the publish() function?

4 views (last 30 days)
daniel on 15 Jan 2015
I have some scripts that generate some reports for me (quite long) using the publish() function. The reports contain anywhere from 100-1000 figures, my problem is that every time I try to publish my scripts, the figures pour out on my screen (stealing window focus and RAM). I have tried throwing this in my script: set(0,'DefaultFigureVisible','on'), but it disabled visibility within my report as well. Any idea how to get around this? Thanks!!


Sign in to comment.

Answers (0)

Translated by