Dear sir, I have 25 text files of detail about wave parameters. How could i write the command to extract data from my selection file?
이전 댓글 표시
cd('D:\coding\datawave');
fid=fopen('file_21.txt');
data=textscan(fid,'%s %s %s %f %f');
height=cell2mat(data(4));
댓글 수: 1
KSSV
2015년 10월 15일
if all the data are numbers you can use importdata. Also go through fscanf, textread, load etc.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 File Operations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!