MATLAB Answers


uicontrol togglebutton turn off by enter key

Asked by ZK
on 16 May 2013

Hi I am using uicontrol togglebutton, with function impoint inside and I wish to when pressing enter stop displaying point from impoint and turn off togglebutton, with all functions inside. I was searching for that but without good results. Can You give an advice with example if this possible.

Thank You


Jan Simon
on 16 May 2013

What exactly is a button with a function "inside"? Do you mean the contents of the Callback function?

on 17 May 2013

I am sorry for not being precise. Yes it is called by callback.


No products are associated with this question.

0 Answers

Join the 15-year community celebration.

Play games and win prizes!

Learn more
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!