Rainflow cycle counting in Simulink for Embedded Coder

3 views (last 30 days)
I am currently trying to implement a rainflow count in Simulink and the further usage on an development board (STM) by embedded coder. My input data is all of type int16, which contradicts the possibility of using an interpreted Matlab function (only double type). I also tried rainflow() as Matlab function in Simulink, but I receive a dimension mismatch error.
Anyone with an advise for rainflow cycle counting in Simulink?
  1 Comment
Zahra on 20 Dec 2022
Hi, I have the same problem. Have you tried to solve it? Thanks

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!