Error in using syms
古いコメントを表示
Hello.
I have a problem with syms. My MATLAB R2020b doesn't respond my syms commands. Please help me.
For example;
syms x
e = x^2 -9
solve(e)
Results:
Error using sym
Too many input arguments.
Error in syms (line 227)
defined = sym(zeros(1, length(args)));
Error in Untitled31 (line 1)
syms x
6 件のコメント
Walter Roberson
2020 年 12 月 23 日
What shows up for
which -all sym
I suspect that you have some other sym.m on your path.
Emin Kursat Dogray
2020 年 12 月 23 日
編集済み: Emin Kursat Dogray
2020 年 12 月 23 日
Please show some lines of the file D:\MATLAB\toolbox\symbolic\symbolic\@sym\sym.m
dbtype sym.m 1:5
dbtype sym.m 199:205
And in the meanwhile, you should track down which line and see why you have it; you could have a lot of graphics problems if you have your own line.m .
Emin Kursat Dogray
2020 年 12 月 23 日
編集済み: Emin Kursat Dogray
2020 年 12 月 23 日
Emin Kursat Dogray
2020 年 12 月 23 日
Walter Roberson
2020 年 12 月 23 日
If you overwrote sym.m then unless you have a backup, you will need to reinstall the Symbolic toolbox
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Code Performance についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!