reading a table: column name
조회 수: 27 (최근 30일)
이전 댓글 표시
I created a csv file
morning afternoon
1 0
0 2
I read it using readtable
and then type
morning
then I got
unrecognized function or variable
Please advise.
댓글 수: 6
채택된 답변
Suraj Sudheer Menon
2020년 6월 14일
A column can be read from a table by referring to the the column variable.
data=readtable('filename.csv')
morning=data.morning;
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!