How to add a property to the handles?
Show older comments
I'm creating GUI using guide. I added a new handles, but it does not contain any property (like struct). Please advice.
Accepted Answer
More Answers (3)
Luffy
on 10 Jul 2012
Let me explain it for an edit box(assuming Tag is 1)
x = get(handles.edit1,'String');
set(handles.edit1,'String',z);
Now similarly use get & set to get & set properties via handles of Objects
Michael Adelman
on 10 Jul 2012
0 votes
Michael Adelman
on 10 Jul 2012
0 votes
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!