How to close FVTool window using commands?

5 vues (au cours des 30 derniers jours)
Brandon  Madsen
Brandon Madsen le 7 Juin 2019
Commenté : Mark Walters le 6 Juil 2022
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 commentaires
Doan Vo
Doan Vo le 24 Mai 2022
Have the same question, for 2022a. Any help will be appreciated! Thanks.
Mark Walters
Mark Walters le 6 Juil 2022
Ditto

Connectez-vous pour commenter.

Réponses (0)

Produits


Version

R2015b

Community Treasure Hunt

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

Start Hunting!

Translated by