Constants that cannot be delete with CLEAR
이전 댓글 표시
Simple,
I have some personal constants define in startup.m but every time I type CLEAR in the command window I loose them.
Is there a way to make some constants non deletable ?
Thank you.
채택된 답변
추가 답변 (1개)
Dyuman Joshi
2023년 6월 4일
이동: Matt J
2023년 6월 4일
You can use this command
clearvars -except VariblesNotToBeDeleted
카테고리
도움말 센터 및 File Exchange에서 Workspace Variables and MAT Files에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!