String valued attributes?
2 次查看(过去 30 天)
显示 更早的评论
In Simulink, with the SimEvents library, is it possible to assign a string-valued attribute to each instance of an entity which are generated from an entity generator block?
I will be generating multiple types of entities, and I need to be able to identify each one during the simulation, ideally using attributes. I don't know of any way to give an entity a name. All I know is that I can assign them number-valued attributes.
Then once I can assign each entity a string-valued name, how would I access that name and identify the string?
Thanks.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Discrete-Event Simulation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!