Alex Rivera | Logout

How do I get the handles of all open figures in MATLAB

Asked 2010-12-27T17:43:59.173
68

I have nine open figures in matlab (generated by another function) and I want to print them all to file. Does anyone know how to grab the handles of all open figures in MATLAB?

I know about gcf but it doesn't seem to do what I want.

Edit
Report

1 Answer

12

I think findall should work

handles=findall(0,'type','figure')

answered 2010-12-27T17:54:09.850

Your Answer