fill edit text value based on some requirement of if

2 views (last 30 days)
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 Comments
timothy lienanto
timothy lienanto on 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 on 7 Dec 2020
Share the complete error message (all the red text)

Sign in to comment.

Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!