Help with edit text GUI

4 views (last 30 days)
aurc89 on 25 Aug 2014
Commented: Ben11 on 25 Aug 2014
Hi! I created a Matlab GUI , where an 'Edit text' command is placed. It is initially empty. At a certain point, when I load a number, it is visualized in this 'Edit text' box, with a command like this
where 'num' is the variable associated to the number. Then, when I press another button, I want this Edit text box to be empty again . How can I set this instruction ?

Accepted Answer

Ben11 on 25 Aug 2014
At the beginning of this button's callback, use something like this:
which displays an empty string
aurc89 on 25 Aug 2014
Thanks !
Ben11 on 25 Aug 2014
You're welcome!

Sign in to comment.

More Answers (0)


Find more on Migrate GUIDE Apps in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!