Maple Symbolic Toolbox problem

14 ビュー (過去 30 日間)
Martin
Martin 2012 年 11 月 23 日
コメント済み: Walter Roberson 2018 年 5 月 7 日
I am using Matlab R2010a, student version.
I followed the online documentation to define a symbolic function on the symbolic variables x and y and got this:
EDU>> syms x y
EDU>> f(x,y)=x^2*y^6
??? Error using ==> sym.subsasgn at 59
Error using ==> maplemex
Error, (in MTM:-subsasgn) unsupported type of index, x
I recently installed Maple 16 and I see in my workspace the name "toolbox_version" with the value 'maple'.
Probably I selected some kind of integration of Maple and Matlab when I installed Maple. Is there an easy way to undo this?
Thanks!

回答 (1 件)

Walter Roberson
Walter Roberson 2012 年 11 月 23 日
The documentation you are looking at that uses that syntax to define a function, is documentation for R2012a and later only. It is not supported in your R2010a.
Try
f = evalin(symengine, '(x,y) -> x^2*y^6')
  2 件のコメント
saeed shekari
saeed shekari 2018 年 5 月 7 日
I have the same problem with my R2016a version. what should i do for this problem? i have completely the same conditions as the question above.
Walter Roberson
Walter Roberson 2018 年 5 月 7 日
The Maple toolbox does not support f(x,y)=x^2*y^6 format for defining functions.

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

Community Treasure Hunt

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

Start Hunting!

Translated by