Importing .mat files with text also

1 view (last 30 days)
Mike Beacham
Mike Beacham on 14 Jul 2014
Commented: Mike Beacham on 15 Jul 2014
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 Comments
Mike Beacham
Mike Beacham on 14 Jul 2014
Thanks! I'll give that a shot.
Mike Beacham
Mike Beacham on 15 Jul 2014
It turns out my whole MATLAB install was corrupt, I re-installed and it started loading them. Thanks for all the help guys!

Sign in to comment.

Answers (0)

Categories

Find more on Data Type Conversion in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!