diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2015-08-12 14:09:09 -0400 |
---|---|---|
committer | Eugeniy Mikhailov <evgmik@gmail.com> | 2015-08-12 14:09:09 -0400 |
commit | f74279cfc37b348f7a7d53289d56945cbd6c6dfc (patch) | |
tree | 9802db4ea34da91f6cfba980e78c5856d4f10e59 /initMatlab.m | |
parent | 5c95fbddb40ee9b0268014207a0a685a236338e2 (diff) | |
download | linux-matlab-gpib-f74279cfc37b348f7a7d53289d56945cbd6c6dfc.tar.gz linux-matlab-gpib-f74279cfc37b348f7a7d53289d56945cbd6c6dfc.zip |
initMatlab sample
Diffstat (limited to 'initMatlab.m')
-rw-r--r-- | initMatlab.m | 19 |
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 );
+
+
|