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 Comments

OK it does work if I put 'on'.
You should really put that as an answer and then accept it.

Answers (0)

This question is closed.

Tags

Asked:

on 25 Jul 2011

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!