What's the comand to get cell-array wrapped into a structure .

조회 수: 1 (최근 30일)
Andrea Gusmara
Andrea Gusmara 2020년 9월 3일
댓글: Steven Lord 2020년 9월 3일
>> WalkInertial.AccX.FX
Expected one output from a curly brace or dot indexing expression, but there were 20 results.
WalkInertial.AccX.FX(:)
Expected one output from a curly brace or dot indexing expression, but there were 20 results.
Hello to everyone, i can't find the comand to obtain tha array cell wrapped into a structure.
  댓글 수: 2
Andrea Gusmara
Andrea Gusmara 2020년 9월 3일
편집: Andrea Gusmara 2020년 9월 3일
[WalkInertial.AccX.FX] it doesn't work . MATLAB respons with the same error massage
Steven Lord
Steven Lord 2020년 9월 3일
What is the size of the WalkInertial struct array? If it has at least one element, what is the size of the AccX field of the first element of WalkInertial?

댓글을 달려면 로그인하십시오.

채택된 답변

Andrea Gusmara
Andrea Gusmara 2020년 9월 3일
getfield(WalkInertial,'AccX','FW')

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Structures에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by