Update a fixed dimension vector Simulink

3 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Sources 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by