How to add a property to the handles?
이전 댓글 표시
I'm creating GUI using guide. I added a new handles, but it does not contain any property (like struct). Please advice.
채택된 답변
추가 답변 (3개)
Luffy
2012년 7월 10일
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
카테고리
도움말 센터 및 File Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!