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

1 次查看(过去 30 天)
>> 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