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

回答(1 个)

Image Analyst
Image Analyst 2019-10-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.

此问题已关闭。

产品

版本

R2012b

关闭:

2021-8-20

Community Treasure Hunt

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

Start Hunting!

Translated by