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 个评论

Post the complete code to the callfun function.
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 Exchange 中查找有关 Startup 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