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.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…