refreshdata, clf, "clear all output"

28 ビュー (過去 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 Center および File ExchangeWhos についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by