access nested struct from excel to matlab
Afficher commentaires plus anciens
I have a struct on a cell in matlab. How can i open this struct by code ?

Réponses (1)
myStruct.d = rand(1,10); % struct with data
Par1 = {myStruct}; % nested in cell
Data = Par1{1}.d % access data
1 commentaire
Tran Anh
le 18 Nov 2022
Catégories
En savoir plus sur Structures dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!