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

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

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 App Building in Help Center and File Exchange

Asked:

on 4 Apr 2021

Commented:

on 4 Apr 2021

Community Treasure Hunt

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

Start Hunting!