필터 지우기
필터 지우기

Why is tag name of button group and radiobuttons not changing(created through guide)?

조회 수: 2 (최근 30일)
I have created a button group with two radiobuttons in it. When I assign a tag name in guide, it shows it correctly in the guide figure. But, when I run the code for the gui it shows the handles by the default names only. Also it shows a anonymous tag such as 'Output'. Example below:
handles =
figure1: 362.0042
uipanel1: 363.0040
radiobutton2: 366.0040
radiobutton1: 364.0040
output: 362.0042
The tag 'Output' was created by me in my previous gui. But it is showing in new gui also, that too without any object. I have tried changing tag name again and again but is set to its default tag name only. What should I do to solve the problems?
Thanks in advance.
  댓글 수: 2
Walter Roberson
Walter Roberson 2016년 11월 1일
편집: Walter Roberson 2016년 11월 1일
Please attach your .m and your .fig for us to test.
Also what tag names are you trying to change to ?
Thanigaivel Raja T
Thanigaivel Raja T 2016년 11월 1일
편집: Thanigaivel Raja T 2016년 11월 1일
Please find attached the .m file, .fig file.
I wish to change
uipanel1 ----> fan type
radiobutton2 ----> axial fan
radiobutton1 ----> centrifugal fan
I also have doubt whether the malfunction has something to do with my computer/MATLAB application(R 2013a) I'm working.

댓글을 달려면 로그인하십시오.

채택된 답변

Walter Roberson
Walter Roberson 2016년 11월 1일
You cannot use spaces in tag names. If you use underscore instead then changing the name works. (Remember to Save the result.)

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by