My Matlab script creates three different documents (.txt documents and .xlsx document). Every time I run the script I have to erase those documents manually in order to avoid problems. Does someone know a "script" which will go at the beginning of my routine that will delete such documents before running the analysis? Thanks.
MATLAB: Delete documents before strarting the routine
delete documents ;start of script
Related Question
- Renaming files in a folder
- How to ask user before overwriting a text file
- Copyfile/ movefile when filenames are not directly available
- Autorename if saved file already exist
- “Warning: Name is nonexistent or not a directory: ” Error Message if I enter the path of a file I want to import
- How to read multiple image from a folder and create histogram for each image and save them ?
Best Answer