Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

Could anyone help me to solve the following error

1 view (last 30 days)
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.

Answers (1)

Star Strider
Star Strider on 19 Jan 2018
That line looks correct to me.
Look at the line just above it. That is probably where the error actually is.
  2 Comments
Prabha Kumaresan
Prabha Kumaresan on 19 Jan 2018
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 on 19 Jan 2018
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).

This question is closed.

Community Treasure Hunt

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

Start Hunting!