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!