Figure count
Show older comments
Is there a way of counting the number of figure windows currently open? I am trying to clear a set of figure windows without closing them.
1 Comment
Mary
on 10 Mar 2023
Edited: Steven Lord
on 10 Mar 2023
Yes, you can use the 'numel' and 'findall' functions in MATLAB [SL: removed URL unrelated to question] to count the number of open figure windows.
Accepted Answer
More Answers (0)
Categories
Find more on Creating, Deleting, and Querying Graphics Objects in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!