access nested struct from excel to matlab
显示 更早的评论
I have a struct on a cell in matlab. How can i open this struct by code ?

回答(1 个)
myStruct.d = rand(1,10); % struct with data
Par1 = {myStruct}; % nested in cell
Data = Par1{1}.d % access data
类别
在 帮助中心 和 File Exchange 中查找有关 Structures 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!