making a push button Visible on anothe rclalback

Hi, I have a pushbutton that is initially set in the propery inspection in guide to be invisible. I then want to make it visible on the callback of another pushbutton. i have used:
set(handles.pushbutton6,'visible',on);
But this came up with an area.
Is this possible?
I am doing this so I can toggle between 2 graphs on an axes component.
thanks

댓글 수: 2

Jason
Jason 2011년 7월 25일
OK it does work if I put 'on'.
You should really put that as an answer and then accept it.

답변 (0개)

이 질문은 마감되었습니다.

태그

질문:

2011년 7월 25일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by