Keep4

버전 1.0.0.0 (2.33 KB) 작성자: Mirko Hrovat
Keeps the listed variables in the calling workspace with a command format similar to "clear"
다운로드 수: 2.8K
업데이트 날짜: 2006/8/28

라이선스 보기

This is another version of Keep, which allows a user to specify what variables are kept in the workspace of the calling routine. "Keep" compliments "Clear".

This version has been extended to match the command format of the "clear" command for clearing variables. Thus wildcards and regular expressions are allowed. The version also supports the "global" key word and Keep will not touch global variables unless the "global" key word is used.

Examples of supported formats:
keep var1 var2
keep var*
keep -regexp expr1
keep global
keep global var1
keep global -regexp expr1

인용 양식

Mirko Hrovat (2024). Keep4 (https://www.mathworks.com/matlabcentral/fileexchange/7129-keep4), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2006a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Variables에 대해 자세히 알아보기
도움

받음: keep, keep2, KEEP3

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0

Updated comments to improve code metrics.