different ways of storing data in block

1 vue (au cours des 30 derniers jours)
Ajay krishna Vasanthakumar
Ajay krishna Vasanthakumar le 26 Juin 2020
Hello all,
is there anyother way to store data in the block other than userdata ?
do we have any possiblity to create custom parameters in simulink block ?
like set_param(gcb,'foo','foo');
Thanks,
V. Ajay Krishna
  2 commentaires
Ajay krishna Vasanthakumar
Ajay krishna Vasanthakumar le 26 Juin 2020
Modifié(e) : Ajay krishna Vasanthakumar le 26 Juin 2020
is it possible without adding mask ?
what i need is alternate to userdata

Connectez-vous pour commenter.

Réponses (1)

Walter Roberson
Walter Roberson le 26 Juin 2020
Set the block RTWdata field. I have tested that it is saved and restored in a normal model.
Unless, that is, you are using Level-2 S Blocks, in which case you would do something different.

Catégories

En savoir plus sur Subsystems dans Help Center et File Exchange

Tags

Produits


Version

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by