Matlab Избегайте сюжета, чтобы получить фокус
f = figure('Visible', 'off');
Poor Puffin
f = figure('Visible', 'off');