error - unexpected matlab expression

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 件のコメント

Star Strider
Star Strider 2014 年 4 月 18 日
Post the complete code to the callfun function.
dpb
dpb 2014 年 4 月 19 日
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.

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeStartup and Shutdown についてさらに検索

タグ

質問済み:

2014 年 4 月 18 日

コメント済み:

dpb
2014 年 4 月 19 日

Community Treasure Hunt

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

Start Hunting!

Translated by