List variables in m-file
Ältere Kommentare anzeigen
I would like to rename some variables in an m-file, and would like to automate this process. I have tried using regexprep, but ran into some problems. I noticed a feature in the newest versions of Matlab, where you can automatically rename variables. Is there a command line version of this functionality. Alternatively, what would be the best way of renaming the variables, without having to run the file?
2 Kommentare
Cedric
am 25 Apr. 2013
Do you know the name of these variables a priori, or is it something that has to be detected by the program?
Etienne Coetzee
am 25 Apr. 2013
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Whos finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!