mfile version of Simulink integrator
3 ビュー (過去 30 日間)
古いコメントを表示
I'm running a simulation model in Simulink and I want to transform it over to m-code. In my Simulink model I use an integrator and to be sure I was making my m-code correctly I took time-stepped data on both sides of the integral and compared to when I ran those points through my m-code. Sadly they did not match up.
The solver I am using in Simulink is ode3 ... does anyone know the formula for the integrator block in Simulink using an ode3 solver?
BTW, I do not have the toolboxes to do code generation from simulink.
3 件のコメント
Jorge Gustavo Vazquez Duran
2016 年 11 月 23 日
hi man, i don´t have a solution but i have the same problem like you.
did you solve this or keeping it??
thanks.! regreat!!
回答 (1 件)
Guy Rouleau
2013 年 7 月 16 日
This should get you started:
You might also be interested to look at the code for the ode3.m function in MATLAB.
参考
カテゴリ
Help Center および File Exchange で General Applications についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!