MATLAB Answers


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

Asked by uncung fgv on 8 Feb 2013
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


Sign in to comment.


1 Answer

Answer by TAB
on 8 Feb 2013
 Accepted Answer

It means that you have written a script errorbar. Scripts never accepts or return argument.... And you are calling this script with 3 arguments.


Did you edit your C:\Documents and Settings\Albert\errorbar.m to start (very first line) with "function" ?
yes i edited it. the file. and it is ok.thx.

Sign in to comment.