please help with the error
조회 수: 1 (최근 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!