who
変数の一覧
呼出し手順
who who() [names, mem] = who(scope) [names, mem] = who(scope, sorted) [names, mem] = who(sorted)
設定
- scope
"local"/"get": list visible variables (not only in current function)."scope"/"current": list variables in the current scope/function."global": list global variables.- sorted
Boolean value to specify if output must be sort in alphabetical order.
- names
String matrix with variable names.
- mem
Double matrix with variable used memory in bytes.
説明
who() は,カレントの変数名を表示します.
who('local') または who('get') は,
現在の変数の名前と使用されているメモリをバイト単位で返します.
who('global') は,
グローバル変数の名前と使用されるメモリをバイト単位で返します.
who('sorted') は,
アルファベット順に全ての変数を表示します.
例
履歴
| バージョン | 記述 |
| 6.0.1 | Add "scope" or "current" scope. |
| Report an issue | ||
| << predef | Variables | who_user >> |