App Designer Text box response problem

2 visualizzazioni (ultimi 30 giorni)
lingmin lin
lingmin lin il 26 Feb 2022
Modificato: Voss il 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.

Risposte (1)

Voss
Voss il 26 Feb 2022
Modificato: Voss il 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.

Categorie

Scopri di più su Develop Apps Using App Designer in Help Center e File Exchange

Prodotti


Release

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by