aboutsummaryrefslogtreecommitdiff
path: root/initMatlab.m
diff options
context:
space:
mode:
Diffstat (limited to 'initMatlab.m')
-rw-r--r--initMatlab.m19
1 files changed, 19 insertions, 0 deletions
diff --git a/initMatlab.m b/initMatlab.m
new file mode 100644
index 0000000..be56dd6
--- /dev/null
+++ b/initMatlab.m
@@ -0,0 +1,19 @@
+if ispc
+ mount_point = 'Z:';
+ % this is necessary to have access to filename2os_fname.m
+ addpath( horzcat( mount_point, '\MATLAB\file_utils') );
+end
+
+if isunix
+ mount_point = '/mnt/qol_grp_data';
+ % this is necessary to have access to filename2os_fname.m
+ addpath( horzcat( mount_point, '/MATLAB/file_utils') );
+ addpath( horzcat( mount_point, '/MATLAB/linux-matlab-gpib') );
+end
+
+%% get access to computer dependent staff
+path2add = horzcat( mount_point, '/MATLAB/computer_dependent/', getComputerName());
+path2add = filename2os_fname( path2add );
+addpath( path2add );
+
+