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

3 次查看(过去 30 天)
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 个评论
Walter Roberson
Walter Roberson 2021-4-4
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.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Partial Differential Equation Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by