Hi guys! I'm new to MATLAB AppDesigner and I need your help! I created a numeric edit field, a label and a list box (label and list box are invisible at first). If the user enters '1' the label and the list box should appear. If the user enters another number both should stay invisible. The problem is, that they always stay invisible, no matter what the user enters. Here's my code, which doesn't work. Can somebody please help me? Thanks!
function EditFieldValueChanged(app, event)
value = app.EditField.Value;
app.Label.HandleVisibility = 'on';
app.ListBox.HandleVisibility = 'on';
app.Label.HandleVisibility = 'off';
app.ListBox.HandleVisibility = 'off';