MATLAB: How can introduce Delay in Ideal Clock Pulse

delay in clock

Hi. I am working in simulink model design. I want to introduce some delay on clock without using ideal delay block. because the delay, I want to be adjustable and later I have to correct that delay that's why I want to create customize delay which can easily integrate with ideal clock. I have attached the simple clock design file. Please have a look and suggest a way how can I introduce a delay ? Is there any behavioral code using MATLAB Function block which I can integrate with clock and clock can be delayed ?
please help in this regard. Thanks in advance!

Best Answer

Hi Sarfaraz,
You can use the delayseq function block in SIMULINK to achieve your goal. Also, refer this MATLAB Answer for better understanding - How we can give Delay in a clock ?
Thanks.