what is gcf in set(gcf,'name','Figure Name')?
38 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
how to plot graph in simulink?
1 Commento
Walter Roberson
il 9 Ott 2012
Please read the guide to tags and retag this question; see http://www.mathworks.co.uk/matlabcentral/answers/43073-a-guide-to-tags
Risposta accettata
Thomas
il 5 Ott 2012
gcf returns the handle of the current figure
To plot data in simulink
3 Commenti
Thomas
il 5 Ott 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)
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Interactive Control and Callbacks in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!