"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 Comments

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.

Sign in to comment.

Answers (0)

Categories

Products

Release

R2018a

Asked:

on 24 Jun 2018

Commented:

Jan
on 24 Jun 2018

Community Treasure Hunt

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

Start Hunting!