Easily Variable Name Changing in Editor

1 次查看(过去 30 天)
Is there a way to change my variables name easily? For example I wrote used a variable's name many times in my code, and I want to change that variable's name. Do I have to change all that variable's names or is there a way to change it easily?
for illiustration:
flag=randint(bla bla bla) . . . . flag=bla bla bla . . .bla bla= 3*pi^flag . . . end
I want to change the variable name flag into bird for example..

采纳的回答

Oleg Komarov
Oleg Komarov 2012-3-11
From 2011b you can use the shift+enter feature, otherwise stick with find and replace.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Text Analytics Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by