what does mean : C:\Documents and Settings\A​lbert\erro​rbar.m

1 view (last 30 days)
when I write this command it appear like this below:
>> errorbar(x,y,e)
??? Attempt to execute SCRIPT errorbar as a function:
C:\Documents and Settings\Albert\errorbar.m

Accepted Answer

TAB
TAB on 8 Feb 2013
It means that you have written a script errorbar. Scripts never accepts or return argument.... And you are calling this script with 3 arguments.
See
  6 Comments
Walter Roberson
Walter Roberson on 8 Feb 2013
Did you edit your C:\Documents and Settings\Albert\errorbar.m to start (very first line) with "function" ?

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!