Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

MATLAB

MATLAB

Quick Overview

Category
Uncategorized
Language
Total members
1K
Total events
0
Total discussions
192
Total views
4K
Total albums
0

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
 

kalaianand

Advanced Member level 4
Joined
Jun 17, 2010
Messages
113
Helped
11
Reputation
22
Reaction score
10
Trophy points
1,298
Activity points
2,025
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.
 

immadi.jagadish

Member level 5
Joined
Dec 19, 2010
Messages
90
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,830
friends i am beginer for matlab please i need some body help
 

kalaianand

Advanced Member level 4
Joined
Jun 17, 2010
Messages
113
Helped
11
Reputation
22
Reaction score
10
Trophy points
1,298
Activity points
2,025
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.
Toggle Sidebar

Part and Inventory Search


Welcome to EDABoard.com

Sponsor

Sponsor

Design Fast


×
Top