필터 지우기
필터 지우기

Hello, so i have 4 XLS files that contain data and every files has the same information but at different locations within that specific file. I want to extract all needed data

조회 수: 2 (최근 30일)
so all the files start like this: "HAYT" and at the end of HAYT, it contains one number(1-4) so the filenames range from HAYT1-HAYT4. I want all the files to be in one specfic folder where the code would sort through all four files and extract the data needed. how would i go about this? I am currently trying to code it but I am stuggling a bit.
  댓글 수: 12
dpb
dpb 2021년 6월 28일
You can put artificial data (of the same time data types and locations) in a sample file or two that illustrate the format and what data are needed.
It might be that just calling detectImportOptions for each could automagically find where the data are, or you might discover that the internal logic already built into readtable does it without any human intervention.
Have you tried it or just presumed it wouldn't work...?
Ahisa
Ahisa 2021년 6월 28일
편집: Ahisa 2021년 6월 28일
i can edit the file and may be able to share them, i do believe they are encrypted, so i'm unsure.
I havent tried anything yet, trying to figure it out first before i do.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Import from MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by