Problem with reset pushbuttonin GUI

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)

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

Asked:

on 1 Oct 2019

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!