Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

use s-function in the SimPowerSystems

Asked by Cheng on 19 Nov 2012

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.

0 Comments

Cheng

Products

1 Answer

Answer by Kaustubha Govind on 19 Nov 2012

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.

0 Comments

Kaustubha Govind

Contact us