Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Create structure path from string and cell array

조회 수: 1 (최근 30일)
John Doe
John Doe 2019년 6월 13일
마감: Stephen23 2019년 6월 13일
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
John Doe
John Doe 2019년 6월 13일
Yes, that's correct.

답변 (0개)

이 질문은 마감되었습니다.

태그

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by