too many output arguments

2 次查看(过去 30 天)
aaliyan javaid
aaliyan javaid 2021-4-5
I am trying to integrate the following expression but MATLAB gives the error of too many output arguments. Kindly below, I have written the code. Thanks .
syms y;
k = 3;
fun = y^((1+1/k)-1)*(exp(-y));
e = int(fun,y,1,3)

回答(1 个)

Steven Lord
Steven Lord 2021-4-5
You likely have a settings function that is taking precedence over the settings function. To confirm this, run the following command. If it lists a function you've written, please rename that function.
which -all settings
  3 个评论
aaliyan javaid
aaliyan javaid 2021-4-5
编辑:aaliyan javaid 2021-4-5
i have visited this location so i cannot find double folder though there is a m file named as all what should i do now ? and there is no file saved as settings
Steven Lord
Steven Lord 2021-4-5
The - before all in that command is necessary.
which -all settings
/MATLAB/toolbox/matlab/configtools/settings.m

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Symbolic Math Toolbox 的更多信息

标签

产品


版本

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by