EPANET-Matlab-Toolkit icon indicating copy to clipboard operation
EPANET-Matlab-Toolkit copied to clipboard

Error Recognizing setControl Function

Open agill3399 opened this issue 3 years ago • 3 comments

I am trying to create a program where operators have the ability to specify control statements on excel and pass those statements into a MATLAB (via excellink) function that will proceed with extended period calculations. I am running into an issue where the setControl function is not being recognized

Error Message: "Unrecognized method, property, or field 'setControlFunction' for class 'epanet'" "Error in epanet/setControls (line 10342) obj.setControlFunction(i, tmpC{j});".

image image

All of my other toolkit functions seem to be working just fine so I believe the library should be good to go as well. I may be overlooking something simple.

Thanks for your help!

agill3399 avatar Oct 17 '22 22:10 agill3399

Hi @agill3399, thanks for the create this issue. Please check the new available EMT version v2.2.3 and let me know if the problem is solved. I hope it's ok because already I released it :p

Mariosmsk avatar Oct 18 '22 10:10 Mariosmsk

It looks like that worked, what an awesome tool! Thank you for your help.

agill3399 avatar Oct 18 '22 12:10 agill3399

I hope it is ok! 🙂 Thank you for the kind words!

Mariosmsk avatar Oct 19 '22 06:10 Mariosmsk