Undefined function 'sym' for input arguments of type 'double'.

10 ビュー (過去 30 日間)
Khattab
Khattab 2012 年 11 月 27 日
Hi everyone;
When I run this script:
% This is a comment.
>> 4+5-3
ans =
6
>> 2*3/6
ans =
1
>> sym(1/2)+sym(3/4)
I face this error:
Undefined function 'sym' for input arguments of type 'double'.
Could anyone help me please?

回答 (2 件)

Muruganandham Subramanian
Muruganandham Subramanian 2012 年 11 月 27 日

Walter Roberson
Walter Roberson 2012 年 11 月 27 日
You might not have the Symbolic Toolbox installed or licensed. The Symbolic Toolbox is an extra-cost feature for Academic and Commercial licenses. The Symbolic Toolbox is included with the Student Version but is not necessarily installed by default.

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by