Too many arguments error
Show older comments
For some reason Matlab 2016b is having a problem running a function called "taylor" with the correct amount of input arguments. I think that function is a part of the symbolic math toolbox. If I do a very simple example I can get an output with that function but when I copy and paste one of their more complex examples it tells me I have too many input arguments. I need the more complex case to work so I can run my code. I paste that same chunk of code on my laptop and it runs just fine so I'm wondering if there's some weird problem with a different license on this computer?

Answers (2)
Image Analyst
on 9 Oct 2017
Maybe you're not running the taylor you thought you were. What does this show:
>> which -all taylor
Star Strider
on 9 Oct 2017
0 votes
The current online documentation is for R2017b. The function could have changed in the last year. (I don’t use taylor often, so I can’t say for certain.) The code you posted works correctly in R2017b. Check the documentation for R2016b.
Categories
Find more on Logical in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!