How can control the phase delay of the signal generated by "Pulse Generator" block externally?
Mostrar comentarios más antiguos
Hi friends,
I want to generate a square wave by using pulse generator block in simulink where phase delay is coming from an external source. As you know the phase delay of the output signal of this block can be set internally. Is it possible to control the phase delay of this block by a external signal?
Regards Foad
Respuesta aceptada
Más respuestas (2)
ES
el 7 de Feb. de 2014
When the external signal comes, do a
set_param(BlockName,'PhaseDelay',PhaseDelayValue);
1 comentario
Seyedfoad Taghizadeh
el 7 de Feb. de 2014
Niklas Nylén
el 7 de Feb. de 2014
0 votos
If I understand your question correctly it could probably be solved by placing a "Variable time delay" block after the pulse generator block and connect the external source to that block.
1 comentario
Seyedfoad Taghizadeh
el 7 de Feb. de 2014
Categorías
Más información sobre Sources en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!