Saving all variables with save EXCEPT just a few variables

92 ビュー (過去 30 日間)
Brando Miranda
Brando Miranda 2016 年 3 月 23 日
コメント済み: Brando Miranda 2016 年 3 月 23 日
I have a workspace that I want to save all variables except a few that are named basically with the same prefix. So ideally, I'd like to save everything except a few. For example, save everything except `not_me*`, `not_me_either*`.
Since writing individual errors is a lot and a annoying I wanted a short way to do this.
The only way I thought of doing this so far was with maybe a regex (since it gets in regex's) but I ahve not been successful in forming one yet.

回答 (1 件)

Brando Miranda
Brando Miranda 2016 年 3 月 23 日

カテゴリ

Help Center および File ExchangeHolidays / Seasons についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by