Constants that cannot be delete with CLEAR
12 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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.
0 Commenti
Risposta accettata
Più risposte (1)
Dyuman Joshi
il 4 Giu 2023
Spostato: Matt J
il 4 Giu 2023
You can use this command
clearvars -except VariblesNotToBeDeleted
Vedere anche
Categorie
Scopri di più su Function Creation in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!