フィルターのクリア

Update a fixed dimension vector Simulink

1 回表示 (過去 30 日間)
Giorgio Concu
Giorgio Concu 2017 年 12 月 6 日
コメント済み: Giorgio Concu 2017 年 12 月 11 日
Hi! I'm using Simulink and I'm counting the cycles and I have to rearrage them base on the torque level. So, I have to update a vector 125x1 (one for each class) and put inside the cumulative number of cycles performed in the corresponding class. How can I do it? Thank you!

採用された回答

Nick Choi
Nick Choi 2017 年 12 月 8 日
A block that may be helpful for this could be the 'Assignment' block:
This would allow you to assign values to specific elements of the signal.
  1 件のコメント
Giorgio Concu
Giorgio Concu 2017 年 12 月 11 日
I already considered this option, but the 'Assignment' block just repleace the old value with the new one, while I need to increment it step by step. Any other suggestion?

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

その他の回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by