Obtain max output value Simulink

1 view (last 30 days)
Hello, I have a little doubt, someone could tell me how to get the maximum value of the output (curve shown in blue on the oscilloscope)
Thank you so much.

Accepted Answer

Ameer Hamza
Ameer Hamza on 7 Nov 2020
Edited: Ameer Hamza on 7 Nov 2020
max block is not suitable for saving the maximum value. See the example in the attached file (Saved in R2020b).
  4 Comments
Alejandro Fernández
Alejandro Fernández on 7 Nov 2020
Edited: Alejandro Fernández on 7 Nov 2020
And where can I get the t-value of what I have in simulink? I tried with a Clock but I don't know if it's correct..
Ameer Hamza
Ameer Hamza on 7 Nov 2020
No, clock is the correct block to use here. I should be giving the correct time values.

Sign in to comment.

More Answers (0)

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!