load data cell from Mat file from Matlab file

2 次查看(过去 30 天)
Hi all,
I am trying to load data cell from mat file, I used load function but still all I get is (struct with field), I would like to get the array numbers, as I read from excel
So, for the sake of brevity I attached similar file but with very limited data,
Please any help.. Anyone could tell me how to read the data in unnamed :: how to represent them... how to make ss= [1;2;3] not just struct with field [3*1] ???
clearvars;
clc;
ss = load('matlab_t.mat','unnamed'); %% I would like this to be ss=[1;2;3]

回答(1 个)

David Fletcher
David Fletcher 2021-4-6
编辑:David Fletcher 2021-4-6
clearvars;
clc;
ss=load('matlab_t.mat','unnamed'); %% I would like this to be ss=[1;2;3]
ss=ss.unnamed

类别

Help CenterFile Exchange 中查找有关 Structures 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by