Info
This question is closed. Reopen it to edit or answer.
After the regexp match, i have to start appending the data in the existing text file. Any help would be great.
1 view (last 30 days)
Show older comments
Hi All,
After the regexp match, i have to start appending the data in the existing text file. Any help would be great.
#########***********************************##############
Read = fileread('LKS_ALU_FL U5.uvproj');
strlookup = sprintf('<GroupName>ALC_Support</GroupName>\n<Files>');
matchStr = regexp(Read,strlookup,'match');
3 Comments
Walter Roberson
on 22 Dec 2017
Okay, so strfind() gives you the position of the start of the string, and length() tells you how long the string is. You can index Read from there to end to get the remainder of the file.
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!