필터 지우기
필터 지우기

String valued attributes?

조회 수: 1 (최근 30일)
Andrew Natarian
Andrew Natarian 2017년 8월 1일
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개)

카테고리

Help CenterFile Exchange에서 Discrete-Event Simulation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by