Compare two folders and write the matching files to the third folder

1 visualizzazione (ultimi 30 giorni)
I have folder 1 with 1000 files and folder 2 with 500 files. There are matching file names in both folders, however, the contents are different. I would like to write the matching file names and it’s contents from folder1 to the third folder say folder3. How can I do it using Matlab?

Risposte (1)

M
M il 28 Ago 2018
Have a look at the functions dir and exist.

Categorie

Scopri di più su File Operations in Help Center e File Exchange

Prodotti


Release

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by