Effacer les filtres
Effacer les filtres

load data cell from Mat file from Matlab file

6 vues (au cours des 30 derniers jours)
Mark Sc
Mark Sc le 6 Avr 2021
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]

Réponses (1)

David Fletcher
David Fletcher le 6 Avr 2021
Modifié(e) : David Fletcher le 6 Avr 2021
clearvars;
clc;
ss=load('matlab_t.mat','unnamed'); %% I would like this to be ss=[1;2;3]
ss=ss.unnamed

Catégories

En savoir plus sur Data Import and Analysis dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by