When I compile the following function I receive an error message that indicates there are not enough input parameters. For background, I am putting together functions for a solving a 2nd order nonlinear ODE BVP using bvp4c and the code below is establishing the system of ODEs generated when I split up my 2nd order ODE. The x and y values are generated by bvcinit and thus y has two rows.
function rhs = rhs_bvp (x, y, mu_bulk, mu_x, F, ereo, z, c_bulk, Vt)
call_all
rhs = [y(2); 2*z*F*c_bulk/ereo/Vt*exp(mu_bulk-mu_x)*sinh(z*y(1))-y(2)/x];
end
I have been over and over all the parameters and I can't seem to find where I have gone wrong. Assistance please??
3 件のコメント
このコメントへの直接リンク
https://jp.mathworks.com/matlabcentral/answers/215661-error-not-enough-input-parameters#comment_283782
このコメントへの直接リンク
https://jp.mathworks.com/matlabcentral/answers/215661-error-not-enough-input-parameters#comment_283782
このコメントへの直接リンク
https://jp.mathworks.com/matlabcentral/answers/215661-error-not-enough-input-parameters#comment_283800
このコメントへの直接リンク
https://jp.mathworks.com/matlabcentral/answers/215661-error-not-enough-input-parameters#comment_283800
このコメントへの直接リンク
https://jp.mathworks.com/matlabcentral/answers/215661-error-not-enough-input-parameters#comment_283894
このコメントへの直接リンク
https://jp.mathworks.com/matlabcentral/answers/215661-error-not-enough-input-parameters#comment_283894
サインインしてコメントする。