Could anyone help me to solve the following error

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

0 Stimmen

That line looks correct to me.
Look at the line just above it. That is probably where the error actually is.

2 Kommentare

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.
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.

Gefragt:

am 19 Jan. 2018

Geschlossen:

am 20 Aug. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by