Info

This question is closed. Reopen it to edit or answer.

Problem with reset pushbuttonin GUI

3 views (last 30 days)
Arif Fauzan
Arif Fauzan on 1 Oct 2019
Closed: MATLAB Answer Bot on 20 Aug 2021
Hi all,
why do I get an error in the Matlab R2012b GUI pushbutton reset? even though I used the correct code.
error reset button.jpg
reset button code.jpg
line 96.jpg
line 42.jpg

Answers (1)

Image Analyst
Image Analyst on 1 Oct 2019
MATLAB is case sensitive. Try 'String' with a capital S.
Or else you don't have a field called edit1 or don't have a handles structure anymore. Set a breakpoint there to see if handles has any values in it at all.

This question is closed.

Products


Release

R2012b

Community Treasure Hunt

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

Start Hunting!