This question is closed. Reopen it to edit or answer.

Create structure path from string and cell array

1 view (last 30 days)
John Doe
John Doe on 13 Jun 2019
Closed: Stephen23 on 13 Jun 2019
I have a nested structure called S. The data I want to access is in:
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?

Answers (0)





Community Treasure Hunt

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

Start Hunting!