Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit:

How to save cell data from workspace?

Asked by BB on 19 Nov 2012

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



Yowh on 19 Nov 2012

Sir your link doesn't exist.

BB on 19 Nov 2012

Hi,it is OK~

Jan Simon on 19 Nov 2012

Please post the SAVE command you are using for storing the data. Then we can suggest a corresponding LOAD command.



No products are associated with this question.

3 Answers

Answer by Walter Roberson on 19 Nov 2012
Accepted answer

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

1 Comment

BB on 19 Nov 2012

I use


but still no data read to workspace

Walter Roberson
Answer by Harshit on 19 Nov 2012

It is working for me after loading.


Answer by BB on 19 Nov 2012

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.



Walter Roberson on 19 Nov 2012
save(savefile, 'xy3', '-v7.3');
BB on 19 Nov 2012

OK,thank you for your help~


Contact us