Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
how to read values from a file
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi All I had a data containing lets say 3000 values I just want to read first 100 values from the data then next 100 values and then next 100 values and so on... Anyone plz help
댓글 수: 7
dpb
2018년 7월 15일
편집: dpb
2018년 7월 16일
This is akin to the problem of creating named sequential variables; not as problematic but still indicative of a non-optimal coding solution.
As you can tell, we're rather reluctant to lead folks down what may be non-productive paths, but if you're absolutely adamant and still won't share sufficient information to lead to a better solution, look at the optional 'N' arguments in functions like textread, fscanf.
You may also find while and feof of use...
답변 (0개)
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!