How do you read an attribute from one part of a composite entity
Afficher commentaires plus anciens
I have two entities that create a new composite entity. After that creation I will need to access an attribute from one of these entities in the composite entity. How do I do that?
Réponse acceptée
Plus de réponses (1)
Krishna Akella
le 1 Déc 2020
0 votes
Hi Mats,
Entity Selector block is expected to work with both composite entities as well as batched entities. I think the attribute name for the 'key' entity is not set correctly. Probably 'P.PA.nuffra' should read differently?
I have attached a similar model as yours (R2020a) and I am able to simulate it and the results also seem to be as expected.
Thanks & regards,
Krishna
Catégories
En savoir plus sur Discrete-Event Simulation dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
