overwrite and append files
41 views (last 30 days)
Show older comments
how do i overwrite or append files in matlab what functions should i be using?
0 Comments
Accepted Answer
TAB
on 13 Mar 2012
Edited: Eric Sargent
on 22 Feb 2024
To overwrite or create new file
fopen('FileName','w');
To append an existing file
fopen('FileName','a');
See
>> doc fopen
0 Comments
More Answers (0)
See Also
Categories
Find more on Data Import and Export in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!