Couldn't find what's wrong with 'odearguments'

1 view (last 30 days)
Vijith
Vijith on 2 Mar 2024
Commented: Vijith on 2 Mar 2024
Hello all
I tried changing all the possible ways that I know but still couldn't figure out the isses.
  3 Comments
Walter Roberson
Walter Roberson on 2 Mar 2024
You have passed extra parameters to ode15s. The meaning of passing extra parameters has not been documented for more than a decade, and you cannot count on it working.
You should instead be using
[T, Cs] = ode15s(@(t,X)ASS_minimal_pbpk_model(t,X,Dparams,Sparams), T_SPAN, Init_con, options);
Vijith
Vijith on 2 Mar 2024
Fortunately, It worked without any changes after restart the PC.

Sign in to comment.

Answers (0)

Categories

Find more on Programming in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!