Prev: randperm cell array
Next: GMM estimation
From: Rajeev Narayanan on 18 Mar 2010 08:14 Hello, I have a file (temp.txt) and it has the some equation as given below: p= x+y+z I would like to replace the value of X with some value and save the file. However, the position of X is not known. Can someone help me with this. I appreciate it. Thanks, Rajeev
From: news.mathworks.com on 18 Mar 2010 10:09 Read the file (fread) in entirety, and use regexprep on the text of file to replace a particular string. Write it back! "Rajeev Narayanan" <rite2rajeev(a)gmail.com> wrote in message news:hnt5ed$17s$1(a)fred.mathworks.com... > Hello, > > I have a file (temp.txt) and it has the some equation as given below: > > p= x+y+z > > I would like to replace the value of X with some value and save the file. > However, the position of X is not known. Can someone help me with this. I > appreciate it. > > Thanks, > Rajeev
|
Pages: 1 Prev: randperm cell array Next: GMM estimation |