If your PWM signal is fixed, I mean, if they are exactly the same from 0.0001 to 0.1, from 0.1001 to 0.2, from 0.2001 to 0.3,..., then you can combine these two-parts signal into one using the "Repeating Sequence" block from "Sources" library. Just specify every exact time and value from 0 to 0.1 and it will repeat from 0.1 to 0.2, 0.2 to 0.3 etc.
If the PWM signal is different, then still use a "Repeating Sequence" block. Specify its value to be 0 from time 0 to 0.0001, value to be 1 from 0.0001 to 0.1. Then use a "Logical Operator" block to make an "AND" operation on this signal and your PWM signal.
I want to remind you that your simulation step need to be very small, like 1e-5 because you need to be able to change value at 1e-4.
Best Answer