Scilab 5.4.1
Please note that the recommended version of Scilab is 2026.0.0. This page might be outdated.
See the recommended documentation of this function
clear
変数を消去する
呼出し手順
clear a
説明
このコマンドは保護されていない変数を消去します.
変数は環境から削除されます.
clear はpredefで保護された
変数以外の全ての変数を消去します.
このため,2つのコマンド predef(0) およびclear
により全ての変数が削除されます.
通常,保護される変数は標準ライブラリとパーセント構文の変数です.
正しい構文はclear a で clear(a)ではないことに注意してください.
a=[] は a を消去しませんが,
a を空の行列にすることに注意してください.
| Report an issue | ||
| << Predefined variables | Variables | clearglobal >> |