Constants that cannot be delete with CLEAR
Ältere Kommentare anzeigen
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.
Akzeptierte Antwort
Weitere Antworten (1)
Dyuman Joshi
am 4 Jun. 2023
Verschoben: Matt J
am 4 Jun. 2023
You can use this command
clearvars -except VariblesNotToBeDeleted
1 Kommentar
Kategorien
Mehr zu Workspace Variables and MAT Files finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!