bvp4c/bvp5c error

1 Ansicht (letzte 30 Tage)
Efstathios Charalampidis
Efstathios Charalampidis am 29 Nov. 2022
Dear MathWorks Community,
I am trying to use bvp4c/bvp5c and I always get the error:
"Error using char/eps
Too many input arguments.
Error in decomposition/isIllConditioned (line 600)
isIllCond = rc < eps('like',rc) || isnan(rc);
Error in bvp4c (line 196)
if isIllConditioned(dPHIdy)
Error in bratubvp (line 10)
sol1 = bvp4c(@bratuode,@bratubc,solinit,options);"
The code that I am trying to run is the bratubvp.m that is taken from:
Any example that I am trying to run I always get the same error above. I am wondering whether someone else has run into a same issue and whether this can be resolved or not.
Thank you in advance for your help!

Akzeptierte Antwort

Torsten
Torsten am 29 Nov. 2022
Did you create a function with name "eps" ? Then you should rename it because "eps" is an internal MATLAB function.
  5 Kommentare
Torsten
Torsten am 30 Nov. 2022
What is the output of
which -all eps
?
What is
char/eps
?
Efstathios Charalampidis
Efstathios Charalampidis am 30 Nov. 2022
Dear Torsten,
I was able to locate the error. I have installed the advanpix package (for multi-precision computing), and the flag "-all" gave me a hint about it. Thanks a lot!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Produkte


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by