Alternative to Simulink obsoleted Get Attribute in Simevents

4 次查看(过去 30 天)
It seems "get attribute" block has been deprecated and not compatible with new entity blocks: https://se.mathworks.com/help/simevents/ref/getattributeobsolete.html
What's the alternative/new way to get attribute values and use them i.e. in a simulink function?

回答(1 个)

Renato SL
Renato SL 2019-8-26
Check the Common Design Patterns in the Simulink Library (link to documentation).
On the top row, there should be the proposed way to extract value of entity attribute(s).

类别

Help CenterFile Exchange 中查找有关 Discrete-Event Simulation 的更多信息

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by