MATLAB: How to focus on figure-window figurefocusmatlab core Let's two figure are opened Hfig1=figure(1);Hfig2=figure(2); How to focus (make active) one of them? I haven't find relevant figure property… Best Answer Using figure again should work:>> figure(Hfig1) Related SolutionsMATLAB: How to update 2 separate figures without opening new figures figure(1)...figure(2) MATLAB: Notepad focus window It works here.command = sprintf ('notepad %s', [pwd,'\myfile.m']); system (command);Did you mean that you want MATLAB to return after the notpad file is opened instead of remaining 'Busy'? Then add an & to the command.command = sprintf ('notepad %s', [pwd,'\myfile.m', '&']); system (command); Related QuestionFigure to pdf but without the displaying it in the “figure-window”Not displaying “figure 1” while window of plotting coming up
Best Answer