openEMS/linux/invoke_openEMS.m.patch

16 lines
484 B
Diff
Raw Normal View History

2012-06-17 21:45:25 +00:00
diff --git a/matlab/private/invoke_openEMS.m b/matlab/private/invoke_openEMS.m
index ce3ac53..d64771d 100644
--- a/matlab/private/invoke_openEMS.m
+++ b/matlab/private/invoke_openEMS.m
@@ -32,7 +32,9 @@ end
filename = mfilename('fullpath');
dir = fileparts( filename );
2012-06-17 21:45:25 +00:00
openEMS_Path = [dir filesep '../..' filesep];
-
+
+openEMS_Path = ''; % this is a packaged openEMS installation; openEMS.sh is found in $PATH
2012-06-17 21:45:25 +00:00
+
if isunix
openEMS_Path = [openEMS_Path 'openEMS.sh'];
2012-06-17 21:45:25 +00:00
else