This video shows the steps to create a simulink model which converts a pulse signal into a square signal. It also explains how you can detect the edge of the pulse wave.
We will be glad to hear from you regarding any query, suggestions or appreciations at: programmerworld1990@gmail.com