Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Struct contents reference from a non-struct array object

1 vue (au cours des 30 derniers jours)
Mukund
Mukund le 3 Août 2018
Clôturé : Guillaume le 3 Août 2018
I have struct of arrays. When any struct is empty while concatenating, the above error is displayed.
d=[s1.a.d;s2.b.d;s3.c.d]
when struct a,b,c is empty above error is shown. How to redefine stacking to eliminate the error. I have also tried isstruct and isempty, but these commands are not working as expected.

Réponses (0)

Cette question est clôturée.

Produits


Version

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by