Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations SSS148 on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to modify initial state in an S-Function m-script??

Status
Not open for further replies.

constantinmaniut

Chemical
Nov 7, 2005
3
Hy there,

I got a problem, a need to find a way to modify at runtime the initial value of x0, so during the simulation the upper integral limit to chenge x0=f(u). How can I do this?? I need it to simulate the effect of an concentration on reaction speed...

thks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor