Alternative to Simulink obsoleted Get Attribute in Simevents

3 Ansichten (letzte 30 Tage)
N/A
N/A am 25 Aug. 2019
Beantwortet: Renato SL am 26 Aug. 2019
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?

Antworten (1)

Renato SL
Renato SL am 26 Aug. 2019
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).

Kategorien

Mehr zu Discrete-Event Simulation finden Sie in Help Center und File Exchange

Produkte


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by