Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Jesse Heckman
pbtoolbox
Commits
c2ca8ace
Commit
c2ca8ace
authored
Sep 21, 2018
by
Jesse Heckman
Browse files
fixed pb_vPrime>datapath for all OS
parent
6f77a288
Changes
1
Hide whitespace changes
Inline
Side-by-side
setups/vestibular chair/vPrime/core/pb_vPrimeGUI.m
View file @
c2ca8ace
...
...
@@ -270,12 +270,14 @@ end
function
path
=
datapath
(
path
)
if
nargin
==
0
;
path
=
[];
end
if
isempty
(
path
)
||
~
exist
(
path
)
username
=
char
(
java
.
lang
.
System
.
getProperty
(
'user.name'
));
if
ismac
% MAC (personal // NO VC, NO TDT)
path
=
'/Users/jjheckman/Documents/Data/PhD/Experiment/VC'
;
path
=
[
'/Users/'
username
'/Documents/Data'
];
%path = '/Users/jjheckman/Documents/Data/PhD/Experiment/VC';
elseif
isunix
&&
~
ismac
% LINUX (public // VC, NO TDT)
path
=
'/home/
jesse
/Documents/Data'
;
path
=
[
'/home/
'
username
'
/Documents/Data'
]
;
elseif
ispc
% WINDOWS (public // VC, TDT)
path
=
'C:
/VC/DATA'
;
path
=
[
'C:
\Users\'
'\Documents\Data'
]
;
end
end
end
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment