outputs in GUI getting update in different window rather than same window
1 次查看(过去 30 天)
显示 更早的评论
Hello, I have made a GUI to do some calculations and it works well w.r.t results. I have 7 outputs and 2 graphs. I have accordingly used the handles for both outputs and graphs. However the problem I face is, say when run the mygui.fig or .m file I will have a initial figure where I have to enter 3 inputs, and in the same window I have to get the outputs and the graphs. But whats happening is, I am getting another window in which I have all the entered input, calculated output values and graphs. The initial figure has only the inputs I entered. What I want is the output values and the graphs has to be updated in the same window. dont know if i am doing something wrong with handles. Searched a lot on net as well as some books but couldn't find an answer. Appreciate your help. Thanks in advance.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/163015/image.jpeg)
4 个评论
Stephen23
2017-4-18
You need to use explicit graphics handles with every graphics function. For example you should use handles with plot, title, and any others that you use. Read the documentation for each function to know how to specify the Parent handle as an input.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Graphics Performance 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!