findobj give me back an empty value in 2018 vertion.
Show older comments
I tray to run a code which wrote at 2013b version and run successfully. at 2018a version this code return to me an empty value.
openfig(strcat(FileDir2,FileName2,'.fig'),'new','invisible');
h2=findobj(gca,'Type','hggroup');
what can i do?
Accepted Answer
More Answers (2)
Walter Roberson
on 3 May 2018
0 votes
Try findall()
However some graphics items that were previously designed as hggroup before are now implemented differently. What kind of graphics call generated the hggroup?
Moti Raizner
on 3 May 2018
0 votes
Categories
Find more on Creating, Deleting, and Querying Graphics Objects in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!