fill edit text value based on some requirement of if

1 Ansicht (letzte 30 Tage)
timothy lienanto
timothy lienanto am 18 Nov. 2020
Kommentiert: Cris LaPierre am 7 Dez. 2020
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 Kommentare
timothy lienanto
timothy lienanto am 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 am 7 Dez. 2020
Share the complete error message (all the red text)

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Produkte


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by