function [recording_status,output_channel_to_presynaptic,number_of_trials,short_ITI_possible,long_ITI,ITI_decision_threshold,hy,OVSF_presyn_possible,...
pulse_duration_presyn_possible,evoke_postsynaptic_AP,postsyn_AP_delay_possible,OVSF_postsyn_possible,pulse_duration_postsyn_possible,cs,...                                      %the matrix for postsynaptic IPIs (structured analgously to hy) (alternatively could do an 'overall' matrix, s.t. pre-and post spike time combinations)
interleaved_spontaneous_recording,ydepth_of_rawplot,yheight_of_rawplot,autapse_analysis_mode,begin_window,end_window,mcc_output_gain,...
artifact_threshold,alternating_presynaptic_channel,interleaved_mini_analysis,unsorted_overall_plot,basic_stsd_charting]=...
variables__0

recording_status=0                  %for 1 the input object will log data to disk&memory, for 0 to memory only
output_channel_to_presynaptic=1     %tells which electrode is being treated as on the presynaptic side in matlab channel numbering (output channel 1 is hardware channel 0 etc.)                        
                                    %this info will be used by random_train.m and update_patchlog.m to fliplr the output stim and to fliplr the recorded data when set to 2
                                    %since update_patchlog.m will fliplr(1 2), all subsequent processing that works from the log file need not be changed
number_of_trials=1
short_ITI_possible=[1 20000 15000]  %the short intertrial interval, in milliseconds -- general form for these randomly variable variables:  number of possible values, minimum value, step size
long_ITI=20000                      %the long intertrial interval, in milliseconds
ITI_decision_threshold=.5           %determines the ratio of short ITIs to long ITIs (*100 = percentage of ITIs that will be short)
%stim_philosophy=1                  %1 for trains randomly generated each trial, 2 for pre-set trains (stdp induction is stim philosophy 3)
%the presynaptic stimulus information matrix, used when stim_philosophy==1 (if hy is empty the output generated by random_train will be a single pulse)
%first row number of possible values for that IPI (#IPIs = #values in the first row, so #APs is that +1),%second row is minimum for that IPI in ms, %third row is interval size for that in ms

hy=[1;300;1]

OVSF_presyn_possible=[1 5 1]                   %stim intensity from the board in volts -- output voltage scaling factor
pulse_duration_presyn_possible=[1 2 1]         %in ms
evoke_postsynaptic_AP=[1 1]                         %1 or 0, yea or nay, and if so, every how many trials
	postsyn_AP_delay_possible=[1 0 10]                           %in ms    
	OVSF_postsyn_possible=[1 5 1]                   %combinatorially occur equal numbers of times
	pulse_duration_postsyn_possible=[1 2 1]        %these two variables will be used by cs or by the joint pre-post matrix (added oct 19, 2003)
        cs=[];                                      %the matrix for postsynaptic IPIs (structured analgously to hy) (alternatively could do an 'overall' matrix, s.t. pre-and post spike time combinations)
interleaved_spontaneous_recording=[0 3]        %yea or nay and if so, for how many seconds

ydepth_of_rawplot=-330  
yheight_of_rawplot=100
autapse_analysis_mode=0             %used by dwnrawreader_core (if true, the postsyn trace is set equal to the presyn [with a correction for stim pulses])
begin_window=7                      %in ms  %setting the windowing -- how many ms after the (end of the) input pulse to measure current?  -- used by dwnrawreader
end_window=10                       %in ms
mcc_output_gain=2; 
artifact_threshold=40              %used by dwnrawreader to determine where the stimulation artifacts occurred
alternating_presynaptic_channel=0
interleaved_mini_analysis=0     
		unsorted_overall_plot=[0 4500]      %run or not, if so how many samples from the first presyn stim
		basic_stsd_charting=[0 25]          %run or not, if so marker_scaler