UserData for Simulink-models

4 次查看(过去 30 天)
Fabian Scheler
Fabian Scheler 2015-2-25
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
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

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by