Skip to content

Commit 7f77945

Browse files
committed
add linux libraries
1 parent bf9e98c commit 7f77945

File tree

5 files changed

+904
-1
lines changed

5 files changed

+904
-1
lines changed

epanet_matlab_toolkit/epanet.m

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9726,7 +9726,11 @@ function unloadMSX(obj)
97269726
else
97279727
fparam = '_enums.h';
97289728
end
9729-
file = [obj.LibEPANETpath, obj.LibEPANET, fparam];
9729+
if isunix
9730+
file = [obj.LibEPANETpath, 'epanet2', fparam];
9731+
else
9732+
file = [obj.LibEPANETpath, obj.LibEPANET, fparam];
9733+
end
97309734
if isdeployed
97319735
% file=[file(1:end-1), 'txt'];%epanet2.h-->epanet2.txt
97329736
file = 'epanet2_enums.txt';%epanet2_enums.h-->epanet2_enums.txt

epanet_matlab_toolkit/glnx/epanet2

16.6 KB
Binary file not shown.

0 commit comments

Comments
 (0)