MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayNew to MATLAB?
MATLAB Central > MATLAB Newsreader > passing variables to ode and OutputFcn 

Subject: passing variables to ode and OutputFcn From: Mateusz Gos Date: 21 Jan, 2009 12:08:01 Message: 1 of 5 
I have to pass a number of variables (around 20) to an ODE solver. The syntax I used is as follows (I am not using an anonymous function since my integrated function is too complicated): 
Subject: passing variables to ode and OutputFcn From: Loren Shure Date: 21 Jan, 2009 12:32:18 Message: 2 of 5 
In article <gl7371$qhi$1@fred.mathworks.com>, webmaster24@wp.pl says... 
Subject: passing variables to ode and OutputFcn From: Mateusz Gos Date: 21 Jan, 2009 14:07:02 Message: 3 of 5 
Loren Shure <loren@mathworks.com> wrote in message <MPG.23e0dfe199479e1498992d@news.mathworks.com>... 
Subject: passing variables to ode and OutputFcn From: Steven Lord Date: 21 Jan, 2009 15:07:42 Message: 4 of 5 

Subject: passing variables to ode and OutputFcn From: Mateusz Gos Date: 21 Jan, 2009 15:31:02 Message: 5 of 5 
Thank you very much to both of you who have helped me. 
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.