How to erase a text or image file in a folder from the command window?

1 view (last 30 days)
Hi, what commands I have to write to erase any file in a folder from the command window? Thanks Emerson

Accepted Answer

Chandra Kurniawan
Chandra Kurniawan on 15 Jan 2012
delete('filename')

More Answers (1)

Emerson De Souza
Emerson De Souza on 15 Jan 2012
delete('file.extension')

Categories

Find more on Files and Folders in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!