Simulink - how to capture a maximum value from the "minmax running resettable" block?

1 view (last 30 days)
Hi all. Could somebody please help me out with my attempt at capturing a maximum value from a "minmax running resettable" block?
In my simulink 2018 file, I was able to use the block to see a maximum value being found as it cycles through the values.
I'm trying to make simulink pick out that maximum value and just hold it steady with an 'if action' block .... no the maximum value doesn't transfer over to the display block. The display block appears to remain disabled. I have included a screenshot showing the display block appears to be disabled. And I have also included my simulink file.
Any nice help will be greatly appreciated!
Thanks in advance!
Kenny

Answers (0)

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!