fill edit text value based on some requirement of if
Show older comments
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
Cris LaPierre
on 18 Nov 2020
Could you provide more information on what "doesn't work" means? What values do appear? What is bbox, Bug(i), box, bug, detectedImg? Is there an error message? If so, please share the complete message (all the red text).
timothy lienanto
on 19 Nov 2020
Cris LaPierre
on 7 Dec 2020
Share the complete error message (all the red text)
Answers (0)
Categories
Find more on Data Import and Export in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!