Alternative to Simulink obsoleted Get Attribute in Simevents

1 回表示 (過去 30 日間)
N/A
N/A 2019 年 8 月 25 日
回答済み: Renato SL 2019 年 8 月 26 日
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 Center および File ExchangeDiscrete-Event Simulation についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by