Close Control System Toolbox main window
조회 수: 5 (최근 30일)
이전 댓글 표시
Hello guys, i'm using Control System Toolbox, so i open it with
handle = sisotool();
now i want to close these two windows just opened:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/156317/image.png)
but with
close(handle);
only the second form is closed, so my answer is how to close "Control and Estimation Tools Manager"? I tried to get handle's parent but didn't work, it seems to not have a parent
댓글 수: 3
Walter Roberson
2016년 9월 14일
If you examine the UserData field of the handle returned, you will find a sisogui.sisotool stored there which is the tools manager. Unfortunately I have not been able to figure out how to close it by program. I dug into the creation code for it, but it is old-style MATLAB objects and I do not understand some of the object creation mechanisms for that.
채택된 답변
Farouk Moukaddem
2016년 9월 19일
Hi Davide,
The "close" function in MATLAB is used to remove a specified "figure".
The "Control and Estimation Tools Manager" is not considered a "figure", and therefore cannot be closed using this command.
There is no documented way to close this window programmatically in R2013b. You need to close it manually.
Refer to the following documentation link for more information about the "close" function: https://www.mathworks.com/help/matlab/ref/close.html
Thanks,
Farouk
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Passivity and Sector Bounds에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!