How to install and enable Symbolic Math Toolbox

조회 수: 290 (최근 30일)
Anthony Bamugo
Anthony Bamugo 2019년 2월 17일
댓글: Walter Roberson 2021년 8월 29일
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

답변 (2개)

Walter Roberson
Walter Roberson 2019년 2월 17일

yazen abazeid
yazen abazeid 2021년 6월 13일
% 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
Walter Roberson
Walter Roberson 2021년 8월 29일
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.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by