what is gcf in set(gcf,'name','Figure Name')?
38 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
how to plot graph in simulink?
1 commentaire
Walter Roberson
le 9 Oct 2012
Please read the guide to tags and retag this question; see http://www.mathworks.co.uk/matlabcentral/answers/43073-a-guide-to-tags
Réponse acceptée
Thomas
le 5 Oct 2012
gcf returns the handle of the current figure
To plot data in simulink
3 commentaires
Thomas
le 5 Oct 2012
set(gcf,'name','Figure Name')
sets the name of the current figure to 'Figure Name'
set(gcf,'name','Hello')
sets the name of the current figure to 'Hello'
Run the above two lines and see what the name of the created figure is (in the bar at the top)
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Interactive Control and Callbacks dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!