How can i execute a GUI from a .m script?
Show older comments
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
Accepted Answer
More Answers (2)
Brian Dennehy
on 4 Dec 2014
0 votes
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.)
Categories
Find more on Simulation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!