How to rename all instances of persistent variables?

17 次查看(过去 30 天)
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

采纳的回答

Jan
Jan 2019-7-17
编辑:Jan 2019-7-17
Simply remove the persistent command temporarily, rename the variable and insert persistent again.
You can open the file e.g. in NotePad++ and perform the replacement there.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Variables 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by