Hide figures in MATLAB

Viewed 350

I have written a loop which has this code (from EEGLAB):

[spectra,freqs] = spectopo(filesx(i,:), 0, 100);

and it produces a figure hundreds of times. Is there a way to tell MATLAB to not show the figure at all?

2 Answers
Related