Clear Filters
Clear Filters

I find this error in MATLAB. 'Error using bvparguments (line 111)'

3 views (last 30 days)
Error using bvparguments (line 111)
Error in calling BVP4C(ODEFUN,BCFUN,SOLINIT,OPTIONS):
The boundary condition function BCFUN should return a column vector of length 10.
Error in bvp4c (line 129)
[n,npar,nregions,atol,rtol,Nmax,xyVectorized,printstats] = ...
Error in eqew (line 5)
sol1 = bvp4c(@ex8ode,@ex8bc,solinit,options);
Error in maincodeift (line 8)
sols1c1=eqew;
  1 Comment
Walter Roberson
Walter Roberson on 4 Apr 2021
Your ex8bc function needs to return a column vector that has 10 elements in it. It is not acceptable for it to return a row vector.

Sign in to comment.

Answers (0)

Categories

Find more on Partial Differential Equation Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!