How can I use the Find Files tool to simultaneously modify all text occurences across a number of MATLAB files in MATLAB?
3 views (last 30 days)
Show older comments
I am using the Find Files tool to locate occurences of a certain function call myfunc() in group of MATLAB files. I start the Find Files tool from the MATLAB Desktop by selecting Edit->Find Files. I am able to locate all calls to myfunc(x), and would like to replace these calls with myfunc(y) without having to go through each file listing and modifying it manually.
Accepted Answer
MathWorks Support Team
on 17 Jan 2010
The ability to simultaneously replace multiple occurences of a statement in different files from the Find Files tool is not available for MATLAB.
To work around this issue, you will need to modify each listing manually by double-clicking on the file name from within the Find Files tool followed by making the modifications from within the file itself.
0 Comments
More Answers (0)
See Also
Categories
Find more on Environment and Settings in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!