Undefined function or variable 'matlabFunction'.
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Dear all,
I am trying to use 'matlabFunction' feature to convert a symbolic expression into the function. I used an example, given in a help file:
syms x y
r = sqrt(x^2 + y^2);
ht = matlabFunction(sin(r)/r, cos(r)/r)
However, what I always get, is a error message: Undefined function or variable 'matlabFunction'.
I am sure, Symbolic Math Toolbox is installed, cause in the uninstall menu all of the toolboxed as checked as available.
Any suggestions how to make it working?
Thank you in advance!
0 commentaires
Réponses (2)
Star Strider
le 3 Avr 2017
If you have the Symbolic Math Toolbox from R2008a or later, you will have matlabFunction.
5 commentaires
Walter Roberson
le 4 Avr 2017
A couple of people have reported this in the past for R2016a. The solution appears to be to reinstall the Symbolic Toolbox
0 commentaires
Voir également
Catégories
En savoir plus sur Assumptions dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!