why is the text field in app2 not showing the value I want it to show..?
1 次查看(过去 30 天)
显示 更早的评论
Hi !
My boreholestability app ( that is just the front page) is using app2 and here I have a text field which is supposed to show different text according to the color of the lamp. But it is not happening..? Can anybody tell me how I can fix the issue? :)
0 个评论
采纳的回答
Kevin Holly
2023-4-7
Please see app2 attached. I changed two lines. You did not have a uitextarea component called "EnterthenragainTextArea" but rather "TextArea". Secondly, There was no subfield "Text", but rather "Value".
app.EnterthenragainTextArea.Text='Choose a valid input';
to
app.TextArea.Value='Choose a valid input';
and
app.EnterthenragainTextArea.Text='Input accepted!';
to
app.TextArea.Value='Input accepted!';
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Develop Apps Using App Designer 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!