Matlab Coder for ODE solvers (ode15s)

2 views (last 30 days)
Mehdi
Mehdi on 5 Aug 2014
Commented: Torsten on 8 Jul 2015
Hello-
I code ordinary differential equation (ODE) models in matlab that contain large numbers of ODEs. Running the code in Matlab is taking far too long for the applications I am interested in. Is there a way to convert ode solvers (such as ode15s) using Matlab Coder to c or c++ to speed up my scripts without manually coding everything in c? So far, I haven't found any way to do this in an automated fashion. It would be nice to just run the code in C but still get the output in Matlab in order to make plots, tweak the code, etc.
Thanks.
  2 Comments
RahulTandon
RahulTandon on 8 Jul 2015
PLEASE TRY MODELLING YOUR PROBLEM IN SIMULINK AND THEN USE THE CODER THERE TO GENERATE C++ CODE OR FOR THAT MATTER USE THE SIMULINK MODEL ITSELF!
Torsten
Torsten on 8 Jul 2015
All the requests you answer or comment on are out-of-date.
Why don't you take care of recent problems ?
Best wishes
Torsten.

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!