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

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

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

 채택된 답변

Walter Roberson
Walter Roberson 2012년 11월 19일

0 개 추천

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

댓글 수: 1

BB
BB 2012년 11월 19일
I use
load(filename.mat);
but still no data read to workspace

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

추가 답변 (3개)

Harshit
Harshit 2012년 11월 19일

0 개 추천

It is working for me after loading.
BB
BB 2012년 11월 19일

0 개 추천

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

save(savefile, 'xy3', '-v7.3');
BB
BB 2012년 11월 19일
OK,thank you for your help~

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

wujihao wujihao
wujihao wujihao 2018년 1월 9일

0 개 추천

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.

카테고리

도움말 센터File Exchange에서 Low-Level File I/O에 대해 자세히 알아보기

태그

질문:

BB
2012년 11월 19일

답변:

2018년 1월 9일

Community Treasure Hunt

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

Start Hunting!

Translated by