Trouble reading txt file using dlmread
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi,
Suddenly, Matlab doesn't allow me to read text files. The file is in the MATLAB folder, like in the past.. I just copied it's name and tried loading in to MATLAB to further work on it.. but it gives me error. First it said that the file wasn't even there (the folder is synced to iCloud)
Now it says:
"Error using dlmread (line 147)
Mismatch between file and format character vector.
Trouble reading 'Numeric' field from file (row number 29200, field number 10) ==> ********* 4.3043 4.60E+04
7.78E-01 3.42E+08 0.00E+00 0.00E+00 1.88E-04\n
"
This is the command I put: EvoFileSuc = dlmread('l_He7Div')
I'm using Mac OSx.
Mind you - this is a file that I have successfuly loaded to matlab in the past, so I have NO idea why suddenly this says that..
Any thoughts?
Thanks!
댓글 수: 6
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Text Files에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!