can I replace a string in all Matlab .m files under a folder?
- From: "Vista" <abc@xxxxxxxx>
- Date: Fri, 8 Jun 2007 02:05:27 -0700
Hi all,
Does the Matlab Editor have the following feature:
Change string "XXXX" to "YYYY" in all the .m files under a folder, possilby
recursively?
Moreover,
How to write a program in Matlab to change the strings
"XXXX1" to "YYYY1"
"XXXX2" to "YYYY2"
....
....
In all .m files under a folder, based on a give list of XXXX and YYYY
strings?
Can anybody show me how to write such a program to do this task?
Thanks a lot!
----------------
Or, maybe the Perl in Matlab can help? Being not a Perl user, could anybody
give me the example of exactly how to do this?
Thanks!
.
- Follow-Ups:
- Re: can I replace a string in all Matlab .m files under a folder?
- From: Walter Roberson
- Re: can I replace a string in all Matlab .m files under a folder?
- From: Michael Wild
- Re: can I replace a string in all Matlab .m files under a folder?
- Prev by Date: Re: ML already knew about the newly found universa
- Next by Date: mcc problem
- Previous by thread: RANKSUM(X,Y), when length(X)~=length(Y)
- Next by thread: Re: can I replace a string in all Matlab .m files under a folder?
- Index(es):
Relevant Pages
|