Reading in array from txt file
이전 댓글 표시
I'm trying to read in a txt file but MATLAB is only reading in the last column and showing zeros where the other data should be? I checked the txt file and the data is there, and all the values are separated by spaces. Any idea why the first columns are being read in as zeros? My code looks like this:
load ScenarioA.txt; load ScenarioB.txt; ScenarioA
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Workspace Variables and MAT Files에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!