error - unexpected matlab expression

1 Ansicht (letzte 30 Tage)
med-sweng
med-sweng am 18 Apr. 2014
Kommentiert: dpb am 19 Apr. 2014
I have the following call to a function:
callfun(I1, I2, [X Y ones(n,1)], w, m)
But, I'm getting:
Error: File: callfun.m Line: 20 Column: 3
Unexpected MATLAB expression.
Why is that?
Thanks.
  2 Kommentare
Star Strider
Star Strider am 18 Apr. 2014
Post the complete code to the callfun function.
dpb
dpb am 19 Apr. 2014
Even better would be the full error message in context -- the error is inside the function callfun, not the call to it...there's a syntax error there but we're not given that line.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by