How to use data from base workspace in app designer application
48 次查看(过去 30 天)
显示 更早的评论
Hello
In my app designer program I have several Numeric Edit Fields, I would like to set them to the already declared variables before in the base workspace when my application opens.
Is there a way I can load the existing Variable and put them in the already existing EditField?
Thanks already, I look out to your answers.
0 个评论
采纳的回答
xi
2017-5-1
initialize your EditFields using evalin(), such as: app.EditField1.Value=evalin('base','myvar1'); app.EditField2.Value=evalin('base','myvar2'); ...
8 个评论
Mark Sahlin
2022-4-18
the Code View for the initial EditField does not allow me to add a line to change the value via an evalin.
更多回答(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!