How do you read an attribute from one part of a composite entity
Show older comments
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?
Accepted Answer
More Answers (1)
Krishna Akella
on 1 Dec 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
Categories
Find more on Discrete-Event Simulation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!