How to install and enable Symbolic Math Toolbox

230 vues (au cours des 30 derniers jours)
Anthony Bamugo
Anthony Bamugo le 17 Fév 2019
Commenté : Walter Roberson le 29 Août 2021
Hello! I am new to MatLab. How do I install and enable Symbolic Math Toolbox? I am currently getting the following error when I try to use the "syms" syntax:
To use 'syms', the following product must be licensed, installed, and enabled:
Symbolic Math Toolbox

Réponses (2)

Walter Roberson
Walter Roberson le 17 Fév 2019

yazen abazeid
yazen abazeid le 13 Juin 2021
% Filename: ex.m % function ex=ex(x,y) % ex=x.*x+y.*y; % end syms x y; u=jacobian(ex(x,y),[x,y])
  1 commentaire
Walter Roberson
Walter Roberson le 29 Août 2021
With your spacing it is difficult to tell what is commented out and what is not commented out.
If it is still a function, then notice that it does not assign to ex as the function expects.
It is not recommended, by the way, to use the same name for a variable as the function; it confuses the parser and it confuses readers.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Symbolic Math Toolbox dans Help Center et File Exchange

Produits


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by