Date: Jan 18, 2013 10:12 AM
Author: Steven Lord
Subject: Re: Substitution of Operators
"Omid " <email@example.com> wrote in message
> Hello everyone,
> I need to substitute one operator in my program with another operator (*.
> with *)
> but i do not know how it is possible.
> I would appreciate if anyone knows a function which do that.
Two possible approaches:
Open the file in the MATLAB Editor.
Use Find/Replace to perform the replacement.
Read the function file in as a text file.
Perform the replacement.
Write the modified text into a new function file.
The file I/O and string processing functions listed in the output of these
two commands will be useful to you for the second approach:
To contact Technical Support use the Contact Us link on