refreshdata, clf, "clear all output"
조회 수: 36 (최근 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에서 Whos에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!