Execution of script bvp4c as a function is not supported

Answers (1)

It appears you have created a script and saved it as bvp4c.m. This is the same name as the function you are trying to call. Since your script has precedence over the function, you are getting this error.
Change the name of your script, and your error should go away.

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Products

Release

R2021b

Tags

Asked:

on 20 Jul 2022

Commented:

on 22 Jul 2022

Community Treasure Hunt

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

Start Hunting!