Function to write data to a specifc line in a text file
Info
This question is closed. Reopen it to edit or answer.
Show older comments
I don't really know how to go about this.
I just want a simply function that I can call in a script. This function would take in an initially blank text file, and add data to it, line by line. The line number would be an input of the function. The data that it would write into the file would be the output of the script.
any ideas on how to get started?
Answers (1)
Azzi Abdelmalek
on 24 Jul 2016
0 votes
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!