different ways of storing data in block
Mostra commenti meno recenti
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 Commenti
Ajay krishna Vasanthakumar
il 26 Giu 2020
Modificato: Ajay krishna Vasanthakumar
il 26 Giu 2020
Risposte (1)
Walter Roberson
il 26 Giu 2020
0 voti
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.
Categorie
Scopri di più su Simulink in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!