UserData for Simulink-models

Hi,
Simulink-blocks have a parameter 'UserData', this is very handy to store intermediate data across callbacks. Is there an equivalent that works for Simulink-models? Models unfortunately don't have a parameter 'UserData'.
Thanks, Fabian

回答(1 个)

Fabian Scheler
Fabian Scheler 2015-3-2

0 个投票

Hi,
for now I used the parameter 'Metadata' of a Simulink-model. I have no clue if this is a proper choice, but so far it works as expected.
Bye, Fabian

类别

帮助中心File Exchange 中查找有关 Modeling 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by