Thanks for your guide.
However, there is still same problem.
Firstly, I used various functions that add junctions, but the error message was appeared.
I followed the code in ‘epanet.m’ file.
Here are some functions that add junctions in the pipe network I used.
-Error Message: Too many input arguments.
-Error Message: Struct contents reference from a non-struct array object.
-I don’t know what does ToolkitConstants mean.
-Error Message: No appropriate method, property, or field ‘addNode’ for class ‘epanet’.
-Message: No appropriate method, property, or field ‘ENaddnode’ for class ‘epanet’.
I already installed what you gave me, but some problems are remained.
Can you advice me or teach me where is the Matlab-Toolkit manual, please?