I need a help when importing data by using uiimport!
조회 수: 2 (최근 30일)
이전 댓글 표시
I imported data from file.txt (the file.txt contain number as matrix) by using uiimport, but after importing data, i dont know how to call the number from the data. my code is:
A=uiimport('-file')
%then i chose the file in the Import Wizard
A =
NewTextDocument: [3x2 double]
I mean: how to show and use that matrix?
댓글 수: 0
채택된 답변
Mischa Kim
2014년 4월 18일
편집: Mischa Kim
2014년 4월 18일
Le Huy, the data is accessible through
A.NewTextDocument
or, if you want to access individual elements, e.g.,
A.NewTextDocument(2,1) % get element in row 2, column 1
댓글 수: 2
Asaduzzaman Md
2017년 6월 30일
편집: Asaduzzaman Md
2017년 6월 30일
Dear Mischa Kim
how can we retrive data when file name variable such as for first case:
A.NewTextDocument may be second case different A.DATA1
I cannot solve this? Can you help this points, please.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Import and Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!