Why do I receive an error when using the MFUN function from the Extended Symbolic Math Toolbox 2.1.2 (R12.1)?

12 views (last 30 days)
I am using the MFUN command from the Extended Symbolic Math Toolbox to compute the incomplete elliptic integral. The MFUNLIST command shows that I should use the LegendreF function to do this. However, when I execute this command:
mfun('LegendreF',0.2,0.3)
I receive the following error:
??? Error using ==> mfun
argument type not yet available.
Why do I receive this error? How can I compute the incomplete elliptic integral of the first kind?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This is an error in the MFUNLIST command in MATLAB 6.1 (R12.1). The LegendreF function, along with the rest of the Legendre* functions, have been renamed in Maple. This problem has been fixed in MATLAB 6.5 (R13).
As a workaround for MATLAB 6.1 (R12.1), you can replace "Legendre" with "Elliptic" in the Symbolic Math Toolbox's elliptic integral functions. To do so, you would need to use "EllipticF" for your example instead of LegendreF. Thus, the syntax of the call to MFUN would be:
mfun('EllipticF',0.2,0.3)

More Answers (0)

Community Treasure Hunt

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

Start Hunting!