필터 지우기
필터 지우기

Saving all variables with save EXCEPT just a few variables

조회 수: 82 (최근 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 CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by