フィルターのクリア

How to save cell data from workspace?

2 ビュー (過去 30 日間)
BB
BB 2012 年 11 月 19 日
回答済み: wujihao wujihao 2018 年 1 月 9 日
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 件のコメント
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 日
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 日
It is working for me after loading.

BB
BB 2012 年 11 月 19 日
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 件のコメント
Walter Roberson
Walter Roberson 2012 年 11 月 19 日
save(savefile, 'xy3', '-v7.3');
BB
BB 2012 年 11 月 19 日
OK,thank you for your help~

サインインしてコメントする。


wujihao wujihao
wujihao wujihao 2018 年 1 月 9 日
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.

カテゴリ

Help Center および File ExchangeData Import and Analysis についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by