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!