Commit bad69d7f authored by mposthuma's avatar mposthuma
Browse files

Added some info for use at home

parent 88641c25
......@@ -6,19 +6,26 @@ function pb_vGenExp_VisFlash(varargin)
disp(' ...')
cfn = 0;
%General Values
%% Directory of EXP files
%@UNI
%U:\Documents\BIOLOGIE\STAGE\MATLAB\EXP-files\MainExp
%@Home
%C:\Users\marc_\OneDrive\Documents\Studie\STAGE\MATLAB Code\EXP-files\MainExp
%% GV struct
%General Values
GV.showexp = pb_keyval('showexp',varargin,true);
GV.expfile = pb_keyval('fname',varargin,'MainExp');
GV.datdir = pb_keyval('datdir',varargin,'U:\Documents\BIOLOGIE\STAGE\MATLAB\EXP-files\MainExp');
GV.datdir = pb_keyval('datdir',varargin,'C:\Users\marc_\OneDrive\Documents\Studie\STAGE\MATLAB Code\EXP-files\MainExp');
GV.cdir = pb_keyval('cdir',varargin,userpath);
GV.ITI = pb_keyval('ITI',varargin,[0 0]);
GV.lab = pb_keyval('lab',varargin,5);
GV.stim = pb_keyval('stim',varargin,2);
expfile = 'ExpFile';
datdir = 'U:\Documents\BIOLOGIE\STAGE\MATLAB\EXP-files\MainExp';
datdir = 'C:\Users\marc_\OneDrive\Documents\Studie\STAGE\MATLAB Code\EXP-files\MainExp';
cd 'U:\Documents\BIOLOGIE\STAGE\MATLAB\EXP-files\MainExp'
cd 'C:\Users\marc_\OneDrive\Documents\Studie\STAGE\MATLAB Code\EXP-files\MainExp'
%% Desired azimuth and elevation
% Define hemisphere
......@@ -132,8 +139,8 @@ function writeexp(expfile,datdir,theta,phi,int,dur,block,fixled,GV)
expfile = fcheckext(expfile,'.exp'); % check whether the extension exp is included
fid = fopen(expfile,'wt+'); % this is the way to write date to a new file
nblocks = 1;
ntrials = 30;
nblocks = 1;
ntrials = 30;
trialsz = numel(theta); % number of trials
tdurexp = 2.1 * trialsz + (sum(dur)/1000);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment