what is gcf in set(gcf,'name','Figure Name')?
24 次查看(过去 30 天)
显示 更早的评论
how to plot graph in simulink?
1 个评论
Walter Roberson
2012-10-9
Please read the guide to tags and retag this question; see http://www.mathworks.co.uk/matlabcentral/answers/43073-a-guide-to-tags
采纳的回答
Thomas
2012-10-5
gcf returns the handle of the current figure
To plot data in simulink
3 个评论
Thomas
2012-10-5
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)
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interactive Control and Callbacks 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!