How to get the handles of all open App Designer apps (uifigures)?
问题 As mentioned in a related answer, it is possible to get the handles of all open figures using: hFigs = findall(groot, 'Type', 'figure'); but this results in a list that contains both "old" figure and "new" uifigure handles. How can I separate hFigs into two lists, one containing only figure and the other only uifigure references? 回答1: To distinguish between figure and uifigure objects programatically, we can use a slight adaptation of what I suggested here: function tf = isUIFigure(hFigList)