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 件のコメント

Star Strider
Star Strider 2019 年 3 月 10 日
mary
mary 2019 年 3 月 10 日
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 2020 年 3 月 21 日
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 2022 年 12 月 27 日
Hello! I have the same problem. Any solution?

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangePerform Sensitivity Analysis についてさらに検索

質問済み:

2019 年 3 月 10 日

コメント済み:

2022 年 12 月 27 日

Community Treasure Hunt

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

Start Hunting!

Translated by