MATLAB: How to output the maximum value of a signal to a display

simulink

Is there anyway to output the maximum value of a signal that varies with time in simulink to a display block?

Best Answer

I think you should be able to compute the running maximum using the MinMax Running Resettable block and connect its output to a display block. Make sure that the "Initial condition" is appropriately set for your context.
Related Question