Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Plot, Expression or statement is incorrect--possibly unbalanced (, {, or [.

1 回表示 (過去 30 日間)
Gary
Gary 2014 年 11 月 18 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
%plot graphs
hold on
plot(wt,m,'b')
xlabel('Time (s)')
ylabel('Torque (Nm)')
The error is showing for the ylabel line
  3 件のコメント
Chad Greene
Chad Greene 2014 年 11 月 18 日
I suspect the problem is actually somewhere else in your code. An unterminated parentheses or bracket can confuse Matlab regarding where exactly the problem is.
Image Analyst
Image Analyst 2014 年 11 月 18 日
I bet you retyped your code into your question. Copy and paste the code instead. Take several lines before also. Most likely the problem occurs several lines above.

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by