EPANET getdata error missing argument

4 visualizaciones (últimos 30 días)
Viet Linh Cao
Viet Linh Cao el 25 de Jul. de 2023
Comentada: Nibi K V el 25 de Sept. de 2023
Hi, everyone!
I'm trying to learn epanet by doing some of the example I found on the Internet. But when I tried this line
fprintf('nodes = %d\n',getdata('EN_NODECOUNT'))
I get the error: Check for incorrect argument data type or missing argument in call to function 'getdata'. I assume it's because the api call changed in epanet or something. Same with 'setdata'. Does anyone know where to find which functions do they change to? I checked epanet github but couldn't find it there. Thank you in advance!
  1 comentario
Nibi K V
Nibi K V el 25 de Sept. de 2023
I am facing the same issue. Have you find the solution?
setdata('EN_DIAMETER', D);
Thanks in advance
Nibi K V

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Weather and Atmospheric Science en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by