Filter löschen
Filter löschen

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

1 Ansicht (letzte 30 Tage)
>> 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 Kommentare
Andrea Gusmara
Andrea Gusmara am 3 Sep. 2020
Bearbeitet: Andrea Gusmara am 3 Sep. 2020
[WalkInertial.AccX.FX] it doesn't work . MATLAB respons with the same error massage
Steven Lord
Steven Lord am 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?

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Structures finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by