please help with the error
5 次查看(过去 30 天)
显示 更早的评论
I used the code:
a := series(sin(x), x)
and it gave me the error:
Error: "a" was previously used as a variable,
conflicting with its use here as the name of a function or command.
See MATLAB Programming, "How MATLAB Recognizes Function Calls That Use Command Syntax" for details.
Can someone please help me with this?
dav
回答(2 个)
Image Analyst
2013-10-13
There is no := operator in MATLAB. Get rid of the colon.
2 个评论
Image Analyst
2013-10-13
All right, then how can we help? Have you provided anyone with what might be necessary to help you, like error messages, an m-file, or data file? What toolbox is "series()" in? You didn't list your toolboxes in the Product box either.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Expansion 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!