Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

This statement is incomplete

67 views
Skip to first unread message

Philosophaie

unread,
May 31, 2009, 3:06:01 PM5/31/09
to
I have a small GUI program. I am having a persistant problem that will not let the program run at all even the GUI. The error states:

??? Error: File: C:\MATLAB7\work\SolarSunspotCycle.m Line: 39 Column: 10
This statement is incomplete.

This occurs at the last Line and Column of the program. Can someone give a few scenarios on why this may be happenning. (There is a proper number of parenthesis).

dpb

unread,
May 31, 2009, 4:14:18 PM5/31/09
to

Sorry, the sunspots have blinded my view into my crystal ball. Perhaps
someone else can find an illuminating answer w/o the subject line...

--

Matt Fig

unread,
May 31, 2009, 4:22:01 PM5/31/09
to
I often see this when MATLAB is expecting a close parenthesis or second arg to the colon operator. Does M-Lint complain about the file? For example, start a new file by typing:

>>edit

Now put this in there:

g = (1:

Then save it and run the file. You will get the same error.

Chaos

unread,
May 31, 2009, 5:37:01 PM5/31/09
to
"Philosophaie" <ertl...@sbcglobal.net> wrote in message <gvukep$g0t$1...@fred.mathworks.com>...

He.has.written.his.code.like.Captain.James.T.Kirk.Where.each.word.is.its.own.sentence.

0 new messages