How to close FVTool window using commands?
Ältere Kommentare anzeigen
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 Kommentare
Doan Vo
am 24 Mai 2022
Have the same question, for 2022a. Any help will be appreciated! Thanks.
Mark Walters
am 6 Jul. 2022
Ditto
Antworten (0)
Kategorien
Mehr zu Filter Design finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!