필터 지우기
필터 지우기

Importing .mat files with text also

조회 수: 1 (최근 30일)
Mike Beacham
Mike Beacham 2014년 7월 14일
댓글: Mike Beacham 2014년 7월 15일
Hi, I'm trying to import large tables saved as a .mat file, but MATLAB won't load the file. The table is set up as a column matrix with ['str',#,#,#,#,#,#]. The str is a date file which could be converted to date, but takes a long time to do. (3.5million rows). I'm looking for a way to get this to import into matlab, but load won't work, and textscan doesn't either. Load is trying to pick it up as a ASCII file (due to the string) and textscan won't pick it up because it isn't a text file. Any suggestions?
Edit: Doing more research, could this also be related to my version of everything being 32bit rather than 64? The .mat file is only 36MB, so it didn't occur to me until I kept crashing the program doing some sidework.
  댓글 수: 11
Mike Beacham
Mike Beacham 2014년 7월 14일
Thanks! I'll give that a shot.
Mike Beacham
Mike Beacham 2014년 7월 15일
It turns out my whole MATLAB install was corrupt, I re-installed and it started loading them. Thanks for all the help guys!

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Type Conversion에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by