fill edit text value based on some requirement of if

1 次查看(过去 30 天)
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 个评论
timothy lienanto
timothy lienanto 2020-11-19
They show error that i cant change the edit value. Bbox bug(i) bug detectedImg is a condition that can be met

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by