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

1 view (last 30 days)
>> 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 Comments
Andrea Gusmara
Andrea Gusmara on 3 Sep 2020
Edited: Andrea Gusmara on 3 Sep 2020
[WalkInertial.AccX.FX] it doesn't work . MATLAB respons with the same error massage
Steven Lord
Steven Lord on 3 Sep 2020
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?

Sign in to comment.

Accepted Answer

Andrea Gusmara
Andrea Gusmara on 3 Sep 2020
getfield(WalkInertial,'AccX','FW')

More Answers (0)

Categories

Find more on Structures in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!