From f74279cfc37b348f7a7d53289d56945cbd6c6dfc Mon Sep 17 00:00:00 2001 From: Eugeniy Mikhailov Date: Wed, 12 Aug 2015 14:09:09 -0400 Subject: initMatlab sample --- initMatlab.m | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 initMatlab.m (limited to 'initMatlab.m') 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 ); + + -- cgit v1.2.3