Clean start

버전 1.0.0.0 (2.96 KB) 작성자: Julian
(Almost) Year Zero clean start
다운로드 수: 86
업데이트 날짜: 2016/7/12

라이선스 보기

I am posting this simple script in response to Loren's Art of MATLAB blog entry
http://blogs.mathworks.com/loren/2016/07/11/clearing-the-air-in-your-matlab-session/
Although I do use "clear" or "clearvars" on their own interactively, fairly often I need to reset everything and make sure my class definitions are up to date etc. so this "clean start" script evolved for this purpose. But there are 2 big differences to just using clear classes on its own:
I want to keep breakpoints
I allow an emergency undo by saving state into a file

This comes at a price of how long it takes to do the save etc. I also found timer objects are very persistent so had to include a line to delete these too.

인용 양식

Julian (2024). Clean start (https://www.mathworks.com/matlabcentral/fileexchange/58185-clean-start), MATLAB Central File Exchange. 검색됨 .

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

Community Treasure Hunt

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

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