Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Could anyone help me to solve the following error

1 Ansicht (letzte 30 Tage)
Prabha Kumaresan
Prabha Kumaresan am 19 Jan. 2018
Geschlossen: MATLAB Answer Bot am 20 Aug. 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.

Antworten (1)

Star Strider
Star Strider am 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 Kommentare
Prabha Kumaresan
Prabha Kumaresan am 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 am 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).

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by