summaryrefslogtreecommitdiff
path: root/CSXCAD
diff options
context:
space:
mode:
authorRuben Undheim <ruben.undheim@gmail.com>2016-07-06 18:24:09 +0200
committerRuben Undheim <ruben.undheim@gmail.com>2019-02-21 23:19:00 +0100
commit378d663f7346ecb01ee20cc43debc9081d094c45 (patch)
tree78d960081c0104c82f3d5268a7c3faafe6f01ed1 /CSXCAD
parent3444c7b3ab52b1716cf41479e3978232035c1b9f (diff)
Fix path to binaries for Debian
Gbp-Pq: Name 0001-Fix-path-to-binaries-for-Debian.patch
Diffstat (limited to 'CSXCAD')
-rw-r--r--CSXCAD/matlab/CSXGeomPlot.m16
1 files changed, 9 insertions, 7 deletions
diff --git a/CSXCAD/matlab/CSXGeomPlot.m b/CSXCAD/matlab/CSXGeomPlot.m
index df33c94..034f1a1 100644
--- a/CSXCAD/matlab/CSXGeomPlot.m
+++ b/CSXCAD/matlab/CSXGeomPlot.m
@@ -27,13 +27,15 @@ end
filename = mfilename('fullpath');
dir = fileparts( filename );
-if isunix
- AppCSXCAD_bin = searchBinary('AppCSXCAD.sh', ...
- {[dir filesep '..' filesep '..' filesep 'AppCSXCAD' filesep], ...
- [dir filesep '..' filesep '..' filesep '..' filesep 'bin' filesep]});
-else % assume windows
- AppCSXCAD_bin = searchBinary('AppCSXCAD.exe',[dir filesep '..' filesep]);
-end
+%if isunix
+% AppCSXCAD_bin = searchBinary('AppCSXCAD.sh', ...
+% {[dir filesep '..' filesep '..' filesep 'AppCSXCAD' filesep], ...
+% [dir filesep '..' filesep '..' filesep '..' filesep 'bin' filesep]});
+%else % assume windows
+% AppCSXCAD_bin = searchBinary('AppCSXCAD.exe',[dir filesep '..' filesep]);
+%end
+
+AppCSXCAD_bin = '/usr/bin/AppCSXCAD';
command = [AppCSXCAD_bin ' --disableEdit ' args_string ' ' CSX_filename];
disp( ['invoking AppCSXCAD, exit to continue script...'] );