i'm writting some code in Matlab editor, which has about 30 figures. So, when I publish it, it opens 30 figures windows, which is annoying. How do I keep it from opening the windows, but keeping the figures in the published window?

I've tried with `close(figure)`, but then the figures don't show on the published window.

Thanks in advance