what is gcf in set(gcf,'name','Figure Name')?
44 views (last 30 days)
Show older comments
how to plot graph in simulink?
1 Comment
Walter Roberson
on 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
Accepted Answer
Thomas
on 5 Oct 2012
gcf returns the handle of the current figure
To plot data in simulink
3 Comments
Thomas
on 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)
More Answers (0)
See Also
Categories
Find more on Interactive Control and Callbacks in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!