App Designer Text box response problem

2 views (last 30 days)
lingmin lin
lingmin lin on 26 Feb 2022
Edited: Voss on 26 Feb 2022
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.

Answers (1)

Voss
Voss on 26 Feb 2022
Edited: Voss on 26 Feb 2022
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.

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!