app designer does not get the value from edit field in panel
4 次查看(过去 30 天)
显示 更早的评论
Hi All
I have an edit field that is inside a panel. It seems that when I call the value with app.variable , it can not be read. How to fix? am I using the wrong method ?
% Value changed function: ColumnEditField
function ColumnEditFieldValueChanged(app, event)
app.col = app.ColumnEditField.Value;
end
3 个评论
Xavier
2020-9-4
Have you verified that the edit field is still named "ColumnEditField"? You can check by using the Component Browser pane in the design view
Alternatively have you created the 'col' property within the app?
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!