Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

s_function

Status
Not open for further replies.

magdi23

Newbie level 4
Joined
Jun 2, 2009
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,315
Hello everybody,

could you please help me out to understand s_function, any handy documents please . i have 5 differential equations related to each other and i would implemented in simulink and i think the best way to use s_function.

Thanks and Regards
Magdi
 

go to simulink----->user defined functions----->S-function examples in MATLAB. there you will ffind s-function model with example of format. Dont change the formate, include only the variables that you wanted to add.
 

friends i am beginer for matlab please i need some body help
 

Hi everyone
why S-function time response is too slow compared to the simulink block sets?
i have made a m.file programing for the multiplication of the sin wave with gain 2 (i.e2*sint). Also i have modeled the simulink model for the same with minimum step size of 1e-06. when i compare the response time for both, the S-function response is much slower, whike simulink model gives much speed.
Is there any way to increase the speed response of the S-function block?

Give me your suggesions
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top