Borrar filtros
Borrar filtros

Importing .mat files with text also

1 visualización (últimos 30 días)
Mike Beacham
Mike Beacham el 14 de Jul. de 2014
Comentada: Mike Beacham el 15 de Jul. de 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 comentarios
Mike Beacham
Mike Beacham el 14 de Jul. de 2014
Thanks! I'll give that a shot.
Mike Beacham
Mike Beacham el 15 de Jul. de 2014
It turns out my whole MATLAB install was corrupt, I re-installed and it started loading them. Thanks for all the help guys!

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Data Type Conversion en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by