App Designer Text box response problem

2 ビュー (過去 30 日間)
lingmin lin
lingmin lin 2022 年 2 月 26 日
編集済み: Voss 2022 年 2 月 26 日
I have a problem here. So I hope that when a certain text appears at box A, box B & C will then print the text that I set in the code. It's working well when I manually type in the text in box A, things appear in box B&C as I wanted.
However, the problem is that the text in box A is imported from another MATLAB app. When the program runs in this way, the box B & C doesn't seem to recognize the value change at box A, thus not reacting as intended. Does anyone know what might be the problem? Thank you!
I am using the "strcmp' function to compare text in box A and pre-set trigger text.

回答 (1 件)

Voss
Voss 2022 年 2 月 26 日
編集済み: Voss 2022 年 2 月 26 日
If I understand the situation, it sounds like you have to have the external program execute the Callback function of box A immediately after it sets box A's text.

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

タグ

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by