![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/192001/image.png)
I'm attempting to determine the maximum value of a signal (SIMULINK) . The max block returns the exact same signal back to me. What can I do to extract the maximum value?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Akzeptierte Antwort
Christopher Wallace
am 17 Jul. 2018
If you want to do it purely in Simulink you could do something like this:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/192001/image.png)
If you only need the data after the simulation is ran you could output the signal using the ToWorkspace block and then post process the data.
5 Kommentare
Christopher Wallace
am 17 Jul. 2018
Hi Ziad,
Thanks for your explanation. I changed the model slightly, does this work for you?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/192254/image.png)
If not, if you could upload your input data and a screenshot of your model I'd be glad to take a look.
Best, Chris
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!