How can I correct this error?

1 visualización (últimos 30 días)
Nicholas Rutka
Nicholas Rutka el 18 de Abr. de 2021
Comentada: Nicholas Rutka el 18 de Abr. de 2021
Trying to pull data from another script.
See my attached script photos and error that I am getting.
I am using LD=load('linedata4bus.m'); %Line data to pull the data from the other script.
LD=(:,4:5)=LD(:,4:5)/Zbase; is the line I am getting the error for.
Let me know how I can fix this.

Respuesta aceptada

Walter Roberson
Walter Roberson el 18 de Abr. de 2021
Editada: Walter Roberson el 18 de Abr. de 2021
LD(:,4:5)=LD(:,4:5)/Zbase;
and similar on the next line.
The assignment to N requires one more close bracket.
  1 comentario
Nicholas Rutka
Nicholas Rutka el 18 de Abr. de 2021
Thanks, I see what I was doing wrong

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by