refreshdata, clf, "clear all output"

조회 수: 36 (최근 30일)
alpedhuez
alpedhuez 2020년 12월 18일
편집: KALYAN ACHARJYA 2020년 12월 18일

채택된 답변

KALYAN ACHARJYA
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
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.
KALYAN ACHARJYA
KALYAN ACHARJYA 2020년 12월 18일
@Rik, Thank you for pointing this out. much appreciated.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Whos에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by