symbolic error
9 次查看(过去 30 天)
显示 更早的评论
when i run the example in the help document as
x = cell(3, 10);
for i = 1:10
for j = 1:3
x{j,i} = sprintf('x%d%d',i,j);
end
end
x = x(:); % now x is a 30-by-1 vector
x = sym(x, 'real');
an error is repoted as
??? Error using ==> sym.sym at 164
Error using ==> maplemex
Error, (in assume) invalid arguments
Error in ==> optimalFun at 27
x = sym(x, 'real');
by the way, my m file is named as optimalFun.m
any help are appreciated. thanks a lot1
0 个评论
采纳的回答
Walter Roberson
2012-4-19
Notice the reference to "maplemex" in the error message. That indicates that you are using the older Maple based symbolic toolbox. The current Symbolic Toolbox documentation is for MuPAD not for Maple. You need to look at the help documentation for whichever release you are using.
2 个评论
Walter Roberson
2012-4-19
I have not seen any documentation about MATLAB_SYMBOLIC, and it is not clear whether you want to change it to use Maple or to use MuPAD ?
The only information I found is
http://www.mathworks.com/matlabcentral/newsreader/view_thread/263270
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!