Matlab Cleaner

버전 1.0.1 (1.64 KB) 작성자: Christoph Müßig
A tool to instantly clean all variables, figures and the command window. With the parameters you can exclude variabels or clean help files.
다운로드 수: 35
업데이트 날짜: 2019/5/26

라이선스 보기

I recently asked some Matlab users, what they would improve in this already fantastic programming language. One of the frequently mentioned ideas was a easy and less time consuming cleaner. My command windows history is full of:

(close all)
clear
clc

I thought about a simple function to save time and came up with my Cleaner. Now you can just type "c", press Enter and everything is clean again. To make it even more usefull, you can exclude variabels form beeing deleted and configure options, so for example it doesnt close all open figures.

c % Clean everything
c('a b') % Clean everything except the variables a and b
c('a b','c') % Clean everything except the variables a and b and dont clean the Command window

Additionally, by selecting 'p' as the second parameter, all the sometimes annoying help files (ending .asv) are cleaned from the Matlab paths. And you can combine multiple options as the second parameter, for example c('a b','fp') to clean all help files, but let the figures open.

I really hope, this function can help some people to save some time. If you have any ideas how to improve it, let me know :)

인용 양식

Christoph Müßig (2024). Matlab Cleaner (https://www.mathworks.com/matlabcentral/fileexchange/71655-matlab-cleaner), MATLAB Central File Exchange. 검색됨 .

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

Community Treasure Hunt

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

Start Hunting!

버전 게시됨 릴리스 정보
1.0.1

Corrected image and special characters.

1.0.0