Info
此问题已关闭。 请重新打开它进行编辑或回答。
Create structure path from string and cell array
1 次查看(过去 30 天)
显示 更早的评论
I have a nested structure called S. The data I want to access is in:
S.Signal_00.values.y_values
The path always stays the same but the values for Signal_00 differs. I have these Signal names stored in a cell array like below.
sigNames = {'Signal_00'; 'Signal_01';'Signal_02'...}
How do I create the above structure path using the Signal names I have stored in the cell array sigNames?
3 个评论
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!