matlab 建立新的visible off figure

GUI.hFig = findall(0, '-depth',1, 'type','figure', 'Name','Trading demo');
if isempty(GUI.hFig)
           GUI.hFig = figure('Name','Trading demo', 'NumberTitle','off', 'Visible','off', 'Color','w', 'Position',[100,100,900,600], 'Toolbar','none', 'MenuBar','none');
else
    clf(GUI.hFig);
     hc=findall(gcf); delete(hc(2:end));       

end

你可能感兴趣的:(matlab 建立新的visible off figure)