get the values from user via text field
1 次查看(过去 30 天)
显示 更早的评论
Hi I want get the values from user via text field i design my gui but i do not know how access the items of these and can i save the values that users entered into text field?
0 个评论
采纳的回答
Azzi Abdelmalek
2013-12-20
You can use an edit box and pushbutton with callback:
y=str2double(get(handles.edit1,'string'))
更多回答(0 个)
另请参阅
类别
在 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!