I am using matlab R2016b with windows 10, 64 bit. I have set the path to the folder with the .dll and h. files, however, when I load the library an error message appears:
Code: %MATLAB CODE %load epanet2.dll and .h
Error: Warning: The data type 'FcnPtr' used by function ENepanet does not exist.
In pat (line 3)
I am also having a problem loading the file as a 302 error is displayed eveytime I run the program
Code: [errorcode] = calllib('epanet2', 'ENopen', 'NoPats1.inp','NoPats1.txt','');
Error ENopen() returned 302
Because I am using windows 10, I was forced to use the SDK for windows 10 as SDK 7.1 would not install.
How do I solve these problems?