For Programmers: Free Programming Magazines  


Home > Archive > Matlab > August 2007 > help Matlab Error









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author help Matlab Error
Hyun-jun Wang

2007-08-30, 8:59 pm

am a novice in matlab, so help me out on this one, i get
the following error when i try to run the plot command in
matlab.
what could be the problem?
help please,
thanks

"
??? Attempt to execute SCRIPT error as a function.

Error in ==> C:\Program Files\MATLAB704
\toolbox\matlab\graphics\private\clo.p>clo at 20
error(nargchk(1, 3, nargin));

Error in ==> C:\Program Files\MATLAB704
\toolbox\matlab\graphics\newplot.p>ObserveAxesNextPlot at
124
clo(ax, 'reset',hsave);

Error in ==> C:\Program Files\MATLAB704
\toolbox\matlab\graphics\newplot.p>newplot at 74
ax = ObserveAxesNextPlot(ax, hsave); "



Error in ==> curvedtimeoeuler at 150
plot(coord,mm,' -k')
Walter Roberson

2007-08-30, 8:59 pm

In article <fb6sa9$5kh$1@fred.mathworks.com>,
Hyun-jun Wang <hyunjunwang@hotmail.com> wrote:
>am a novice in matlab, so help me out on this one, i get
>the following error when i try to run the plot command in
>matlab.
>what could be the problem?
>help please,
>thanks


>??? Attempt to execute SCRIPT error as a function.
>
>Error in ==> C:\Program Files\MATLAB704
>\toolbox\matlab\graphics\private\clo.p>clo at 20
>error(nargchk(1, 3, nargin));


You likely have a file named error.m that you created yourself.
That conflicts with the built-in error() routine.
--
I was very young in those days, but I was also rather dim.
-- Christopher Priest
Hyun-jun Wang

2007-08-30, 8:59 pm

roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson) wrote in
message <fb6siv$91c$1@canopus.cc.umanitoba.ca>...
> In article <fb6sa9$5kh$1@fred.mathworks.com>,
> Hyun-jun Wang <hyunjunwang@hotmail.com> wrote:
get[color=darkred]
in[color=darkred]
>
>
> You likely have a file named error.m that you created

yourself.
> That conflicts with the built-in error() routine.
> --
> I was very young in those days, but I was also rather

dim.
> -- Christopher Priest


Indeed that was the cause of all that "mess"
Thanks loads,

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com