How to rename all instances of persistent variables?
17 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Ferencz Bordas
il 17 Lug 2019
Commentato: Ferencz Bordas
il 17 Lug 2019
Hello,
actually it is possible to rename all instances of a variable by pressing "shift + enter", but for some reason this doesn't work for persistent variables. I'm using R2016b, so may this be an issue of matlab release?
Thanks and regards,
Ferencz
2 Commenti
Stephen23
il 17 Lug 2019
Modificato: Stephen23
il 17 Lug 2019
This explains why:
https://www.mathworks.com/matlabcentral/answers/361696-how-to-update-variable-names-after-a-clear#answer_286173
Although written for clear the same explanation applies to persistent and any other functions using command syntax: https://www.mathworks.com/help/matlab/matlab_prog/command-vs-function-syntax.html
Risposta accettata
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Variables 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!