"Too many output arguments." for pretty function

I have been experiencing a lot of these's errors lately that say too many output arguments, below a small piece of code that shows this error, what am I doing wrong?
syms s
Y(s)=(6/(s^2+9)*(s+2)*(s+3))+(2*s+10/(s+2)*(s+3))
y=ilaplace(Y(s))
pretty(simplify(y))
The pretty statement is where it goes wrong frequently, can anyone help me out?

2 个评论

Please copy the entire red text.
Also, what exact version of Matlab are you using? Have you installed the updates for R2018a? Because some symbolic function had buggy behavior.
The code runs smoothly in Matlab Online.

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品

版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by