Collect data from directories

2 vues (au cours des 30 derniers jours)
civil tech
civil tech le 21 Avr 2023
Commenté : Image Analyst le 22 Avr 2023
I have a series of folders (for example, 50 folders), each with its unique name (completely different names). I want to extract a set of information from each of these folders (from an Excel file). The final output should be an Excel file, that contain all the information extracted from the 50 folders. The data are not numbers. They are E-mails of stuffs. Finally, it should remove duplicate data.
The only common aspect among these 50 folders is that they all contain a folder named "A", and inside this folder, all the necessary information (Excell file with the Emails I want to collect) is placed.
Can anyone help me with this? Thanks in advance.
  2 commentaires
Image Analyst
Image Analyst le 21 Avr 2023
You posted so soon I really doubt you even had time to run my demos below..

Connectez-vous pour commenter.

Réponse acceptée

Image Analyst
Image Analyst le 21 Avr 2023
See some file and folder demos, attached. Adapt as needed.
  4 commentaires
civil tech
civil tech le 22 Avr 2023
Thank you so much for your kind help.
Image Analyst
Image Analyst le 22 Avr 2023
If this Answer solves your original question, then could you please click the "Accept this answer" link to award the answerer with "reputation points" for their efforts in helping you? They'd appreciate it. Thanks in advance. 🙂 Note: you can only accept one answer (so pick the best one) but you can click the "Vote" icon for as many Answers as you want. Voting for an answer will also award reputation points.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by