gcoll: a pedestrian garbage collector and workspace cleaner

バージョン 1.0.0.0 (3.01 KB) 作成者: us
garbage-collects workspace variables into a structure and optionally deletes those floating variable
ダウンロード: 5K
更新 2003/10/1

ライセンスの表示

this little routine is a garbage collector that helps to clean up a messy workspace.

it collects those numerous variables (or selected members of them) either from the base's or caller's workspace into a handy structure, where each fieldname represents a variable with its contents set to the variable's value.

optionally, it will remove the variable after(!) assignment -or- keep only those that are selected.

when called within a function with the option
s=gcoll('-caller');
it collects all current variables used within that function; other options and/or patterns apply.

look at the accompanying image and type
help gcoll
at the command prompt for more insights.

引用

us (2024). gcoll: a pedestrian garbage collector and workspace cleaner (https://www.mathworks.com/matlabcentral/fileexchange/3967-gcoll-a-pedestrian-garbage-collector-and-workspace-cleaner), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R13
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersCharacters and Strings についてさらに検索

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0

str matching engine will not reject variations of forbidden tags (global,-file) anymore. ver_tag: 01-Oct-2003 17:55:17