필터 지우기
필터 지우기

How to enable uipushtool 'ON' through guide for R2013a?

조회 수: 1 (최근 30일)
Thanigaivel Raja T
Thanigaivel Raja T 2016년 10월 31일
편집: Thanigaivel Raja T 2016년 10월 31일
I have a push button and uipushtool. I have set the uipushtool enable to 'off' by default. I wish to enable 'on' the uipushtool upon clicking of the pushbutton. But I am unable to find a way to access the uipushtool handles. Hence I'm unable to turn on the uipushtool. I use MATLAB R2013a.
Thanks in advance!

채택된 답변

Walter Roberson
Walter Roberson 2016년 10월 31일
Ideally, you would have saved the handle when you created the tool.
Otherwise, use findobj() with 'type' 'uipushtool' to get the handles of the tool. If you had given the uipushtool a unique tag you could findobj() on that tag.
  댓글 수: 5
Walter Roberson
Walter Roberson 2016년 10월 31일
use delete() on the handle.
Thanigaivel Raja T
Thanigaivel Raja T 2016년 10월 31일
편집: Thanigaivel Raja T 2016년 10월 31일
Thank you. I tried it was not happening. Anyways, I'll recreate the gui because there are lots of such problems which are not visible in the code. This time I'll do things carefully:)

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

추가 답변 (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