Hi, I have large text files that I am trying get through "datastore". Can we get multiple files into a single datastore? If so, How I can pull out data from each file into separate tall arrays?

조회 수: 2 (최근 30일)
I tried to get the data from two files. It says that i has got bot files, but I cannot get them into separate tall arrays.
ttds = tabularTextDatastore('K:\geo-cloud-files\home\NayaniIlangakoon','FileExtensions',{'.csv','.txt'})
But the datastore structure shows only the data from one file, not both. Anyone has any ideas how can I pull out data from datastore?
  댓글 수: 7
Jiro Doke
Jiro Doke 2016년 11월 10일
In that case, you shouldn't be creating a single datastore for both files. Instead, you would create one for each:
ds1 = tabularTextDatastore('K:\geo-cloud-files\home\NayaniIlangakoon\140823_161804_1.pls_PULSE.txt');
ds2 = tabularTextDatastore('K:\geo-cloud-files\home\NayaniIlangakoon\L11 - Scanner 1 - 140823_161804_1 - originalpoints.txt');

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Text Data Preparation에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by