different ways of storing data in block

1 回表示 (過去 30 日間)
Ajay krishna Vasanthakumar
Ajay krishna Vasanthakumar 2020 年 6 月 26 日
回答済み: Walter Roberson 2020 年 6 月 26 日
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 件のコメント
Ajay krishna Vasanthakumar
Ajay krishna Vasanthakumar 2020 年 6 月 26 日
編集済み: Ajay krishna Vasanthakumar 2020 年 6 月 26 日
is it possible without adding mask ?
what i need is alternate to userdata

サインインしてコメントする。

回答 (1 件)

Walter Roberson
Walter Roberson 2020 年 6 月 26 日
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.

カテゴリ

Help Center および File ExchangeModeling についてさらに検索

タグ

製品


リリース

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by