How to detect rising edge in signal in your Simulink model in MATLAB R2023a?

This video shows steps to detect the rising edge part in your signal. So, whenever the direction of your signal goes towards a rise, the logic will detect it and generate a pulse signal for those points.

It simply uses a combination of delay block and difference (minus) block to finding the change in the current value as compared to previous value.

I hope you like this video. For any questions, suggestions or appreciation please contact us at: or email at:

Complete details:

Screenshots of the model and output:

Leave a Reply