Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Could anyone help me to solve the following error

1 vue (au cours des 30 derniers jours)
Prabha Kumaresan
Prabha Kumaresan le 19 Jan 2018
Clôturé : MATLAB Answer Bot le 20 Août 2021
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.

Réponses (1)

Star Strider
Star Strider le 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 commentaires
Prabha Kumaresan
Prabha Kumaresan le 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 le 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).

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by