error - unexpected matlab expression
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
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 Center 和 File Exchange 中查找有关 Debugging and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!