Tune Phase Delay on Pulse Generator During Simulation
This example shows how to modify a model so that you can change a phase delay for a Pulse Generation block during simulation. You cannot tune the value of the Phase delay parameter during simulation. As a workaround, add a Constant block and a Variable Time Delay block.
In the Pulse Generator block, set the value of the Phase delay parameter to zero. Use the Constant block to specify the delay time in seconds. To tune the delay time during simulation, change the value stored in the Constant block.