Constants that cannot be delete with CLEAR
13 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponse acceptée
Plus de réponses (1)
Dyuman Joshi
le 4 Juin 2023
Déplacé(e) : Matt J
le 4 Juin 2023
You can use this command
clearvars -except VariblesNotToBeDeleted
1 commentaire
Voir également
Catégories
En savoir plus sur Function Creation dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!