overwrite and append files

58 views (last 30 days)
lowcalorie
lowcalorie on 13 Mar 2012
Edited: Eric Sargent on 22 Feb 2024
how do i overwrite or append files in matlab what functions should i be using?

Accepted Answer

TAB
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

More Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!