フィルターのクリア

Undefined function or variable 'matlabFunction'.

3 ビュー (過去 30 日間)
Svyatoslav Kharitonov
Svyatoslav Kharitonov 2017 年 4 月 3 日
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!

回答 (2 件)

Star Strider
Star Strider 2017 年 4 月 3 日
If you have the Symbolic Math Toolbox from R2008a or later, you will have matlabFunction.
  5 件のコメント
Star Strider
Star Strider 2017 年 4 月 4 日
See if rebooting MATLAB solves that problem.
Svyatoslav Kharitonov
Svyatoslav Kharitonov 2017 年 4 月 4 日
Re-installation of MATLAB did solve the problem.

サインインしてコメントする。


Walter Roberson
Walter Roberson 2017 年 4 月 4 日
A couple of people have reported this in the past for R2016a. The solution appears to be to reinstall the Symbolic Toolbox

カテゴリ

Help Center および File ExchangeAssumptions についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by