Azzera filtri
Azzera filtri

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

1 visualizzazione (ultimi 30 giorni)
>> 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 Commenti
Andrea Gusmara
Andrea Gusmara il 3 Set 2020
Modificato: Andrea Gusmara il 3 Set 2020
[WalkInertial.AccX.FX] it doesn't work . MATLAB respons with the same error massage
Steven Lord
Steven Lord il 3 Set 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?

Accedi per commentare.

Risposta accettata

Andrea Gusmara
Andrea Gusmara il 3 Set 2020
getfield(WalkInertial,'AccX','FW')

Più risposte (0)

Categorie

Scopri di più su Structures in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by