There's a nice little function on the exchange that sorts figures on the screen, but it's not sorting in numerical order how the Figures are numbed: https://www.mathworks.com/matlabcentral/fileexchange/52774-arrangefigures-handles
This statement I believe…
figureHandles = sort(get(0, 'Children'));
…needs to truly sort in Figure numerical order. Then it would work.
Can it be improved?
Thanks!
Best Answer