Trying to load .dat file matlab
이전 댓글 표시
I am trying to use dlmread command for importing .dat file which has stress and strain values .strain values are in the range of -5.81E-09 but after giving filename='USt37.dat'; deliminator=','; data=dlmread(filename,deliminator,3,0); the data file is loading in 1x1 matrix form whereas original data was in 2x2 matrix form .Please help.
댓글 수: 1
Walter Roberson
2017년 6월 27일
Please post a sample of the actual file, instead of just a picture of it.
One thing I notice is that your picture uses blanks between the columns, but you are using comma as the column delimiter.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Spreadsheets에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!