fill edit text value based on some requirement of if

1 visualizzazione (ultimi 30 giorni)
i have a problem when i want try to change the edit field value using if it seem doesnt work.
if bbox==Bug(i)
app.EditField.Value = 'there is a pet';
elseif box==bug(detectedImg)
app.EditField.Value = 'there is a pet';
else
app.EditField.Value = 'there isno pet';
end
end
  3 Commenti
timothy lienanto
timothy lienanto il 19 Nov 2020
They show error that i cant change the edit value. Bbox bug(i) bug detectedImg is a condition that can be met
Cris LaPierre
Cris LaPierre il 7 Dic 2020
Share the complete error message (all the red text)

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Get Started with MATLAB in Help Center e File Exchange

Prodotti


Release

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by