If I can set the output of memory block during simulation?

1 回表示 (過去 30 日間)
Simon
Simon 2015 年 8 月 13 日
回答済み: Walter Roberson 2015 年 8 月 13 日
I use memory block to record the number of iteration. Anyway, when the iteration gets a threshold, I want to set the value of memory back to zero, and do the sum up again. Now I'm thinking about using 'set_param' in m file to control the value of memory. But I don't know how to change the value of memory. I think change the input and output of memory block also works for me.
Could anyone help me?

採用された回答

Walter Roberson
Walter Roberson 2015 年 8 月 13 日

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeProgrammatic Model Editing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by