Mathworks has done it again: my ancient R2012 (as bestowed by my company) returns a nice set of double
s identifying the figure window numbers in response to
currhandles=findall(0,'type','figure');
Now I got a fellow remotely IM-ing me 'cause the code I gave him fails under R2015 because findall
now returns a structure for the figure handle. I can't play w/ his system (no RDC) and the mathworks documentation pages don't appear to specify the elements of the figure handle structure. In particular, I'd like to know if I can still retrieve the figure window number. Anyone know?
Of course.
will return all numbers as a comma-separated list.
Or specify a number you want:
The order appears to be the inverse order of initialization.
Alternatively you can define two anonymous functions to get an array directly: