How to close FVTool window using commands?

조회 수: 4 (최근 30일)
Brandon  Madsen
Brandon Madsen 2019년 6월 7일
댓글: Mark Walters 2022년 7월 6일
Within a script I can use commands to generate FVTool plots, edit them, and save the results...
fd = fdesign.highpass(60,70,60,1,2e4);
hFilt = design(fd,'equiripple');
hFV = fvtool(hFilt); % open FVTool
xlim([0,0.1]); % zoom in to show the transition
print(hFV,'filter_transition.png','-dpng','-r300'); % save results
close(hFV); % plot closed, but window still open
close all; % window still open
delete(findall(0)); % error message
...But I can't figure out how to close the entire FVTool GUI window afterwards using commands. Using close(hFV) closes only the current plot, but not the system window enclosing it. How can I close the system window containing the FVTool plots?
I am using Matlab R2015b. Thanks in advance.
  댓글 수: 2
Doan Vo
Doan Vo 2022년 5월 24일
Have the same question, for 2022a. Any help will be appreciated! Thanks.
Mark Walters
Mark Walters 2022년 7월 6일
Ditto

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Filter Design에 대해 자세히 알아보기

제품


릴리스

R2015b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by