solve 'Real', true doesnt work

Dear Matlab experts, recently after i reinstall the MATLAB the function "solve" with the turned on 'Real',true gives me a following error:
>> syms x
>> solve(x^5 == 3125, x, 'Real', true)
??? Error using ==> char
Conversion to char from logical is not possible.
Error in ==> solve>getEqns at 189
vc = char(v);
Error in ==> solve at 67
[eqns,vars] = getEqns(varargin{:});
I have no Idea why,
I would be very grateful for any suggestion.

3 件のコメント

Walter Roberson
Walter Roberson 2014 年 1 月 23 日
Which MATLAB version are you using? Did you happen to install the Maple symbolic computing package (Maplesoft) ?
As an experiment, try
solve(x^5 == 3125, x, 'Real', 'true')
Dk
Dk 2014 年 1 月 24 日
Yes, I have installed the Maple package, and now delete it, but it already doesn't work, as well as this
solve(x^5 == 3125, x, 'Real', 'true')
Walter Roberson
Walter Roberson 2014 年 1 月 24 日
Dk commented
Thank you for your answer! but How to check? and what to do if it's not correctly installed?

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

 採用された回答

Walter Roberson
Walter Roberson 2014 年 1 月 24 日

0 投票

I would recommend re-installing the Symbolic Toolbox. You do not need to delete Maple as a whole.
What I suspect happened is that when you installed Maple you told the Maple installer that Yes, you wanted to install the MATLAB to Maple link. That link would have overwritten parts of the Symbolic Toolbox, as the two are not expected to be installed at the same time.

5 件のコメント

Dk
Dk 2014 年 1 月 24 日
I've reinstalled matlab as a whole, and it still doesnt work, I even restore the system, and it also didn't help...
Dk
Dk 2014 年 1 月 24 日
may be something still stored in my system, and doesnt allow to matlab to work properly
Dk
Dk 2014 年 1 月 24 日
in addition the time of symbolic computations slowed down significantly (((((
Walter Roberson
Walter Roberson 2014 年 1 月 24 日
Which MATLAB version are you using?
Dk
Dk 2014 年 1 月 24 日
R2011a 7.12.0.635

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeStartup and Shutdown についてさらに検索

質問済み:

Dk
2014 年 1 月 23 日

コメント済み:

Dk
2014 年 1 月 24 日

Community Treasure Hunt

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

Start Hunting!

Translated by