Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski 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
Joined
Nov 7, 2005
Messages
3
Location
DE
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

Back
Top