function [hy,files_to_analyze,presynaptic_side,postsynaptic_side,trials_to_remove,epoch_dividers,age_and_types,analyze_raw,raw_axis,excluding_failure_waveforms,detection_threshold,indivmode_raw,...
    raw_comparison_format,raw_movie_format,meanmode_raw,raw_include_SD,NLize_raw,analyze_extracted_grid,indiv_grid_plots,show_rectangular,analyze_extracted_simple,...
    indiv_simple_plots,analyze_first_pulse_only,minutes_per_trial,analyze_probabilities,NLize_extracted,analyze_controls,analyze_histograms,analyze_spontaneous,analyze_induction,analyze_statistics,...
    analyze_oa_ob_ab,activate_concise_historian,make_stsd_spreadsheets,analyze_fitted_curves,use_only_fitted_values,analyze_multipeaks,analyze_means_and_sems,show_raw_colorcode_bar,...
    extendedrawaxis_followinglastpulse,parameter_colors]=convert_stored_matrix_parametersfile
%called by convert_stored_matrix, returns all the user-defined parameters

hy=[50 400];
files_to_analyze={'patch20070314T132617'}% any number of files
presynaptic_side=1;  %specifying which of the four possible synapses (AB, BA, AA, or BB) is to be analyzed
postsynaptic_side=2;
trials_to_remove={[161:232]}% one vector of files to remove for each file in files_to_analyze
epoch_dividers=[28.5 48.5 87.5 107.5]%177.5]%[.5+(21*[1:14])];   %make sure to manually correct for removed trial(s)
age_and_types='';                               %for labeling plots
analyze_raw=0;
    raw_axis=[0 50 -135 10];                %for display, in ms and pA
    excluding_failure_waveforms=0;   %this is used in the context of hy=[12.5 25 50...] type expts (i.e. 2006 and 2007 expts)
        detection_threshold=2.5;
    indivmode_raw=1;                        %show individual waveforms
        raw_comparison_format=1;        %set all trials from an epoch to same color
        raw_movie_format=bitcmp(raw_comparison_format,1);
    meanmode_raw=bitcmp(indivmode_raw,1);
        raw_include_SD=0;
    NLize_raw=0;
    show_raw_colorcode_bar=0;
    extendedrawaxis_followinglastpulse=[0 100];
analyze_extracted_grid=0;       %shows values by short-term interval history
    indiv_grid_plots=0;
        show_rectangular=0;
analyze_extracted_simple=1;     %diary plots
    indiv_simple_plots=1;
    analyze_first_pulse_only=1;
    minutes_per_trial=.75;
analyze_probabilities=0;
NLize_extracted=0;
analyze_controls=1;
analyze_histograms=0;
analyze_spontaneous=0;
analyze_induction=0;
analyze_statistics=0;
analyze_oa_ob_ab=0;
activate_concise_historian=0;
make_stsd_spreadsheets=0;
analyze_fitted_curves=0;
use_only_fitted_values=0;
analyze_multipeaks=0;
analyze_means_and_sems=0;

parameter_colors={'k' 'r' 'g' 'b' 'm' 'c' 'y' 'w'};
clrz=colormap(jet(5));%parameter_colors={};for i=1:5, parameter_colors{i}=clrz(i,:);end
parameter_colors{1}=clrz(5,:)