SundialsTB coupling with Matlab

Dear experts in ODEs,
I try to couple the sundials toolbox with Matlab by following the installation guide of sundials. The installation goes fine but when I launch my case where CVODE is being used, I have the following error :
Undefined function or variable 'cvm'.
Error in CVodeInit (line 42)
status = cvm(mode, fct, lmm, nls, t0, y0, options);
I am wondering what went wrong ? The sundials installation ?
Is there any other manners to couple sundials toolbox with matlab ? Is there any tutorial from Matlab community on that topic ?
I can say that I tried to find whatever linking Matlab to sunidalsTB, but I should say that they are very few discussions about that and the errors were mentionned on sunidals forum and no answers were given.
Is someone here installed the sundialsTB and managed to make it run ?
I am using the version 2.3.0 and 2.4.0 and I have problems with both of them.
Kind regards,
Mary

4 Kommentare

mary
mary am 10 Mär. 2019
Thanks Star for these two links.
I knew the sundial webpage address. However, they claim on their webpage that they removed the sundials toolbox from the recent versions. I could find this toolbox in version 2.3.0 and 2.4.0. Now, the question is what is the trick to make it run. My installation (on linux system) seems succeded but I don't manage to use the cvode solver despite the fact that I mentionned the path at the beginning of my file.
Simbiology seems to not be free. So, I rather prefer to fix the problem with sundialsTB than using the trial version of simbiology.
Any hint to make sundialsTB run would be very helpful for me.
Thanks in advance.
Wang Hong
Wang Hong am 21 Mär. 2020
Add the fold of cvm into the matlab‘s default path. But still another obtacle is waiting for us if we want to use it to solve ODEs
Luiz Fabiano Damy
Luiz Fabiano Damy am 27 Dez. 2022
Hello! I have the same problem. Any solution?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Gefragt:

am 10 Mär. 2019

Community Treasure Hunt

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

Start Hunting!

Translated by