% generate parameter structs for subroutines
function model = setTimeLineParams(model,paramStruct)

set(model.txtFrameShiftStart,'String',num2str(paramStruct.frameShiftStart)) ;  
set(model.txtFrameShiftEnd,'String',num2str(paramStruct.frameShiftEnd)) ; 
set(model.txtFrameShiftDur,'String',num2str(paramStruct.decodeDuration)) ; 
set(model.txtPSTHStart,'String',num2str(paramStruct.psthStart)) ;  
set(model.txtPSTHEnd,'String',num2str(paramStruct.psthEnd)) ;
set(model.txtBaselineStart,'String',num2str(paramStruct.baselineStart)) ; 
set(model.txtBaselineEnd,'String',num2str(paramStruct.baselineEnd)) ; 

end