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? :)

采纳的回答

Kevin Holly
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 CenterFile Exchange 中查找有关 Data Type Identification 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by