매트랩 txt 파일 읽어오기
조회 수: 31 (최근 30일)
이전 댓글 표시
채택된 답변
JWH
2024년 11월 21일
위의 링크를 참고해서 할경우 아래와 같이 될것 같습니다.
t1 = readtable('test.txt', 'ReadVariableNames', false);
t1.Properties.VariableNames{1} = 'Date';
t1.Date.Format = 'yyyy-MM-dd HH:mm:ss';
t1.Properties.VariableNames{3} = 'Num';
t2 = table(t1.Date, t1.Num);
추가 답변 (0개)
참고 항목
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!