Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Problem with reset pushbuttonin GUI

1 vue (au cours des 30 derniers jours)
Arif Fauzan
Arif Fauzan le 1 Oct 2019
Clôturé : MATLAB Answer Bot le 20 Août 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

Réponses (1)

Image Analyst
Image Analyst le 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.

Cette question est clôturée.

Produits


Version

R2012b

Community Treasure Hunt

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

Start Hunting!

Translated by