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

1 vue (au cours des 30 derniers jours)
Andrea Gusmara
Andrea Gusmara le 3 Sep 2020
Commenté : Steven Lord le 3 Sep 2020
>> 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 commentaires
Andrea Gusmara
Andrea Gusmara le 3 Sep 2020
Modifié(e) : Andrea Gusmara le 3 Sep 2020
[WalkInertial.AccX.FX] it doesn't work . MATLAB respons with the same error massage
Steven Lord
Steven Lord le 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?

Connectez-vous pour commenter.

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Structures dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by