How can i execute a GUI from a .m script?
显示 更早的评论
Hello everybody!
I have created a .m script that makes some calculations. The thing is that in the middle of the script, i need the user to tell me which transformation should he choose (it is just one step from the whole script), for every rectangle in a given grill. So i created a GUI wich contains 5 buttons (the transformations options).
My problem is that i don't certainly know how to execute the GUI in my script.... is there a function or a command for that? How can i access it from the .m?
Thanks for your attention,
BRD
采纳的回答
更多回答(2 个)
Thank you, we launch Matlab using activeX and the 'tag' and waitfor solution from Geoff Hayes works for launching a GUI from the script that is called. (No need to pass data back to the GUI in this case.)
类别
在 帮助中心 和 File Exchange 中查找有关 Simulation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!