diff options
Diffstat (limited to 'openEMS/matlab/private/invoke_openEMS.m')
-rw-r--r-- | openEMS/matlab/private/invoke_openEMS.m | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/openEMS/matlab/private/invoke_openEMS.m b/openEMS/matlab/private/invoke_openEMS.m index afb2b46..8c4d79b 100644 --- a/openEMS/matlab/private/invoke_openEMS.m +++ b/openEMS/matlab/private/invoke_openEMS.m @@ -26,13 +26,15 @@ end filename = mfilename('fullpath'); dir = fileparts( filename ); -if isunix - openEMS_bin = searchBinary('openEMS.sh', ... - {[dir filesep '..' filesep '..' filesep], ... % try devel path - [dir filesep '..' filesep '..' filesep '..' filesep '..' filesep 'bin' filesep]}); % try (default) install path -else % assume windows - openEMS_bin = searchBinary('openEMS.exe', [dir filesep '..' filesep '..' filesep]); -end +%if isunix +% openEMS_bin = searchBinary('openEMS.sh', ... +% {[dir filesep '..' filesep '..' filesep], ... % try devel path +% [dir filesep '..' filesep '..' filesep '..' filesep '..' filesep 'bin' filesep]}); % try (default) install path +%else % assume windows +% openEMS_bin = searchBinary('openEMS.exe', [dir filesep '..' filesep '..' filesep]); +%end + +openEMS_bin = '/usr/bin/openEMS'; command = [openEMS_bin ' ' opts]; |