Info

此问题已关闭。 请重新打开它进行编辑或回答。

Unbalanced or unexpected parenthesis or bracket.

2 次查看(过去 30 天)
For some reason I am getting an error when I try and use this piece of code
Q = quad(@Func01_p4, L,U,[],[],a,b,c);
but earlier in the code I use this
A22 = quad(@Intercept3, XR1,XR2,[],[],a,b,c,d,e,f,g);
and it works just fine.
any help? thanks for your time.

回答(1 个)

Walter Roberson
Walter Roberson 2013-12-4
Check the line above and see whether it was accidentally marked as continuing with the three dots, or if the previous line has a mis-matched bracket. In particular sometimes a missing "]" cannot be detected on the proper line.

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by