magdi23
Newbie level 4

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.
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.