Error opening the INP file, even though nothing is wrong in the format or with the data

Error :

EPANET loaded sucessfuly.
File Error 302: cannot open input file.
Error using epanet (line 486)
Could not open the file, please check INP file.

Hi @Nilkiw,

Please download the toolkit dev from here: https://github.com/OpenWaterAnalytics/EPANET-Matlab-Toolkit/tree/dev-2.2-edit

Try this example:

start_toolkit;
d=epanet('Net1.inp');
d.getNodeElevations

If the error occurs again you can send me the network to check.

Regards,
Marios

Hi Mariosmsk,

Thank you so much for the help,

I got it sorted, i downloaded the epanet again and it worked. But i will keep this in mind too just in case:)

regards,
Nilki