How to save cell data from workspace?

I want to save my xy3 cell contains 2401x1
And I save to .mat file , then when I import data in workspace
it's show error "file contains uninterpretable data"
Why I can't read the cell file
thanks!

3 comentarios

Yowh
Yowh el 19 de Nov. de 2012
Sir your link doesn't exist.
BB
BB el 19 de Nov. de 2012
Hi,it is OK~
Jan
Jan el 19 de Nov. de 2012
Please post the SAVE command you are using for storing the data. Then we can suggest a corresponding LOAD command.

Iniciar sesión para comentar.

 Respuesta aceptada

Walter Roberson
Walter Roberson el 19 de Nov. de 2012

0 votos

Do not uiimport() or import() your data: load() it.

1 comentario

BB
BB el 19 de Nov. de 2012
I use
load(filename.mat);
but still no data read to workspace

Iniciar sesión para comentar.

Más respuestas (3)

Harshit
Harshit el 19 de Nov. de 2012

0 votos

It is working for me after loading.
BB
BB el 19 de Nov. de 2012

0 votos

This is my save code
savefile = 'listmode data.mat';
save(savefile, 'xy3');
It appear this error:
Warning: Variable 'xy3' cannot be saved to a MAT-file whose version is
older than 7.3.
To save this variable, use the -v7.3 switch.
Skipping...

2 comentarios

save(savefile, 'xy3', '-v7.3');
BB
BB el 19 de Nov. de 2012
OK,thank you for your help~

Iniciar sesión para comentar.

wujihao wujihao
wujihao wujihao el 9 de En. de 2018

0 votos

Hi, Sir,I have the same question,I want to save the workspace data which including Map,cell,and array.My purpose is saving the earlier data and using them in now calulating.How can I save them all in a text or whatever else.

Categorías

Etiquetas

Preguntada:

BB
el 19 de Nov. de 2012

Respondida:

el 9 de En. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by