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.

Matlab/ Simulink modeling equations

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 guys,

i need your help about matlab simulink, i have got the planet mathematical model and i face a diffuclties to simulink these equation by matlab, forexample this equation dmM/dt= mMin(t)-Rp, here mMin(t)= if t>=30<=100 then mMin=7.560*10^-3 , else =0, so here mM is variable and i dont know how to implement in simulink i mean which block or how can i do it in matlab m-file and call it from simulink.
mMint is monomor feed rate kg/s.

thank you in advance for your cooperation and i am looking to hear from you.
 

When you want to call Matlab functions in Simulink you have to add/create sth what is called S-Function.

Hope this helps!
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top