Too many arguments error

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?

回答(2 个)

Maybe you're not running the taylor you thought you were. What does this show:
>> which -all taylor
Star Strider
Star Strider 2017-10-9

0 个投票

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.

类别

帮助中心File Exchange 中查找有关 Logical 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by