Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Could anyone help me to solve the following error

조회 수: 2 (최근 30일)
Prabha Kumaresan
Prabha Kumaresan 2018년 1월 19일
마감: MATLAB Answer Bot 2021년 8월 20일
I am getting Error Unbalanced or unexpected parenthesis or bracket.
in the following line [E,E_part,P_part,U_part,V_part]=cluster_rows4(G,D,rows,N_UE(t),N_SC(r));
could anyone help me to solve it.

답변 (1개)

Star Strider
Star Strider 2018년 1월 19일
That line looks correct to me.
Look at the line just above it. That is probably where the error actually is.
  댓글 수: 2
Prabha Kumaresan
Prabha Kumaresan 2018년 1월 19일
The above line doesn't show any error.But I am using the line by calling function
function [E,E_part,P_part,U_part,V_part]=cluster_rows4(G,D,rows,N_UE(t),N_SC(r)).
Whether the error is due to function.
Star Strider
Star Strider 2018년 1월 19일
The error certainly could be in the function. The complete error message will show where the error is thrown in the function, and will only mention the call to it in your calling script.
It would be helpful for you to copy the complete error message (all the red text in the Command Window) and paste it to your original Question (or a Comment to it).

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by