Editing Properties in gui-code
이전 댓글 표시
i want to change the lable of the axes , but i don't know where i must write x/y-lable command in the gui-code ? as a general rule , where can i edit the properties of an object in the code .
채택된 답변
추가 답변 (1개)
David Sanchez
2013년 12월 19일
0 개 추천
You can use the Property Inspector if you use GUIDE (right click on the object whose properties you want to modify, select Property Inspector, look for the field to change in the emerging window).
Otherwise, you have to use set and get commands to perform changes in any object of your GUI.
댓글 수: 3
Elia
2013년 12월 19일
Sean de Wolski
2013년 12월 19일
Do it in the OutputFcn.
You can run:
inspect(get(handles.axes1,'XLabel'));
To pull up the xlabel in the inspector. axes1 is the 'Tag' of the axes you care about.
Elia
2013년 12월 19일
카테고리
도움말 센터 및 File Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!