Convert Txt file to an array
조회 수: 6 (최근 30일)
이전 댓글 표시
fid = fopen('C:\Users\Acer\Desktop\project hydro\Offset.txt');
data=textscan(fid,'%s');
fclose(fid);
댓글 수: 0
답변 (1개)
Walter Roberson
2022년 6월 27일
data = readmatrix('C:\Users\Acer\Desktop\project hydro\Offset.txt');
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Type Conversion에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!