refreshdata, clf, "clear all output"
39 次查看(过去 30 天)
显示 更早的评论
What are the relationship of
'clear all output' https://www.mathworks.com/matlabcentral/answers/475826-clear-all-output-code
?
0 个评论
采纳的回答
KALYAN ACHARJYA
2020-12-18
编辑:KALYAN ACHARJYA
2020-12-18
Refreshdata: refreshdata updates charted data in the current figure to reflect changes in workspace variables
Clf: clf deletes from the current figure all graphics objects
'clear all output' Which coding function?
More see
clear; % Clear workspace variables
More: Clear all: Clears Variables, Scripts and functions Class definitions, Persistent variables, MEX functions, Global variables etc
Alert: Calling clear all decreases code performance, and is usually unnecessary.
2 个评论
Rik
2020-12-18
@Kalyan, clear all clears much more than just variables. That is why mlint will warn you not to use it. Please edit your question to avoid perpetuating this bad practice.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Software Development Tools 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!