every value of dropdown has a variable associated with it which has different default value which can be editable
1 次查看(过去 30 天)
显示 更早的评论
I have a dropdown of different radars, each radar has different power output which has the default value. In the app designer, when i select a dropdown it should show me the defualt value and used in calculation and this value can be edited by the user.
I have done the first part in which it shows the default value as one of the radar is selected and calculates on based of this value, but the second part in which the user can edit the power value and it perform the calculation could not be done, it is not giving be the correct output when i edit the value, as it takes only the default value again.
0 个评论
回答(1 个)
Image Analyst
2022-2-15
You need to put code somewhere that checks the "Value" or "String" property of the popup. I didn't know the user could change a popup entry (in GUIDE you cannot). So if the user changes it, then in the callback function for the popup, do any of the properties change, like the "String" property or any other one?
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Develop Apps Using App Designer 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!