Changing variable from appdesigner in matlab script
4 次查看(过去 30 天)
显示 更早的评论
Hello,
How can I send a value for a variable from appdesigner to the workspace which is then used in a matlab script?
0 个评论
采纳的回答
Eric Delgado
2022-10-5
You can use assignin to send the variable to Matlab base workspace.
% Suppose that you have a variable named "app.myVariable"
assignin('base', 'myVariable', app.myVariable)
openvar('myVariable')
6 个评论
Eric Delgado
2022-10-21
Great to hear! Now that you are super happy with my support, you accept my answer, ok? :)
更多回答(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!