Info

此问题已关闭。 请重新打开它进行编辑或回答。

Problem with reset pushbuttonin GUI

3 次查看(过去 30 天)
Arif Fauzan
Arif Fauzan 2019-10-1
关闭: MATLAB Answer Bot 2021-8-20
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

Community Treasure Hunt

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

Start Hunting!

Translated by