Extract data from multiple csv files
조회 수: 2 (최근 30일)
이전 댓글 표시
I am looking to extract certain columns of data from numerous csv files stored in a folder. I want to be able to take the data in the column I need and assign it to a variable that can be used in my script to give me my final answer/results. I need to be able to record the final answer for each file. Is there a way to loop/automate the process so that it runs for every file in the folder and records the answer at the end corresponding to the original file name?
댓글 수: 0
답변 (1개)
Star Strider
2016년 1월 8일
Sort of. See the MATLAB Wiki: How can I process a sequence of files?, about ¼ the way down the page. (There apparently used to be a direct link to this section, but it doesn't seem to be available now.)
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Standard File Formats에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!