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