App Designer Text box response problem

2 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Develop 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