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
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 Center 和 File Exchange 中查找有关 Partial Differential Equation Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!