Connect simulink diagrams to simscape electrical.
2 views (last 30 days)
How can i connect my simulink diagram to a simscape diagram. I've read many questions about this and go to know about using s-ps converter , but this simscape diagram doesn't accept physical signals. So i need to know how can i overcome this problem. I want to provide a clock pulse (simulink block) to the S port of S-R latch (simscape).
Joel Van Sickel on 29 Nov 2021
For the latch, you can either creat your own clock signal from simulink by using a controlled voltage source in simscape, and connecting that to a simulink clock source with an s to ps converter.
Also, this onramp will help: