error - unexpected matlab expression

3 次查看(过去 30 天)
med-sweng
med-sweng 2014-4-18
评论: dpb 2014-4-19
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 个)

类别

Help CenterFile Exchange 中查找有关 Debugging and Analysis 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by