use s-function in the SimPowerSystems
显示 更早的评论
I have to use s-function to define a component in the circuit, such as an inductor. How can I do to make the s-function work in a circuit? That is to say, the s-function part, which has input and output ports with electrical attribute such as voltage or current, can be connected with another resistor or a ac source?
Because I think usually the s-function behaves as a control part, it is impossible to put it in the circuit directly.
回答(1 个)
Kaustubha Govind
2012-11-19
0 个投票
I don't know a lot about the physical modeling domain on Simulink, but if you're trying to create your own SimScape-based component, I believe there is a different methodology to follow (and not S-functions): Creating Custom Components and Domains.
类别
在 帮助中心 和 File Exchange 中查找有关 Switches and Breakers 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!