Hello sir ur pulse generator was usefull to my project work but i get error while working with simscape.
The error is stated as
"Algebraic state in algebraic loop containing 'mag2/Divide' computed at time 0.0 is Inf or NaN. There may be a singularity in the solution. If the model is correct, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances)".
Please suggest some solution to rectify this error