How to write data to an exact row in a text file
이전 댓글 표시
Hello, I need to edit a parameter text file for my task and I need to change the value on i.e. 30th row of that parameter file with a loop then save the file. I've tried to come up with a function that does the trick, but couldn't find a proper one.
I'll be faithful if someone can offer some guidance. Thanks in advance.
댓글 수: 2
Azzi Abdelmalek
2012년 10월 2일
편집: Azzi Abdelmalek
2012년 10월 2일
What kind of data are in your file, why don't you post a sample of your text file?
don't comment your question with an answer, just post a comment like I did
채택된 답변
추가 답변 (1개)
카테고리
도움말 센터 및 File Exchange에서 Data Import and Export에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!