access nested struct from excel to matlab
Ältere Kommentare anzeigen
I have a struct on a cell in matlab. How can i open this struct by code ?

Antworten (1)
myStruct.d = rand(1,10); % struct with data
Par1 = {myStruct}; % nested in cell
Data = Par1{1}.d % access data
1 Kommentar
Tran Anh
am 18 Nov. 2022
Kategorien
Mehr zu Structures finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!