You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: ica_fuse_stats_neural_net_fusion.m
    path of file: ./repos/fit/FITv2.0e/ica_fuse/ica_fuse_utilities
    
    the code of the file until where you have to start completion: function ica_fuse_stats_neural
    
function opts = getDefs(opts)

numParameters = 1;

inputText(numParameters).promptString = 'Enter p-value threshold';
inputText(numParameters).uiType = 'edit';
inputText(numParameters).answerString = num2str(opts.thresh);
inputText(numParameters).answerType = 'numeric';
inputText(numParameters).tag = 'thresh';
inputText(numParameters).enable = 'on';
inputText(numParameters).value = 1;

numParameters = numParameters + 1;
threshCriteriaOpts = {'FDR', 'None'};
chkImgInd = strmatch(lower(opts.thresh_criteria), lower(threshCriteriaOpts), 'exact');
inputText(numParameters).promptString = 'Select threshold criteria (t-tests)';
inputText(numParameters).uiType = 'popup';
inputText(numParameters).answerString = threshCriteriaOpts;
inputText(numParameters).answerType = 'string';
inputText(numParameters).tag = 'thresh_criteria';
inputText(numParameters).enable = 'on';
inputText(numParameters).value = 1;


numParameters = numParameters + 1;

chkImgInd = strmatch(lower(opts.image.image_values), lower(opts.image.disp_opts), 'exact');
inputText(numParameters).promptString = 'Select image values (for display)';
inputText(numParameters).uiType = 'popup';
inputText(numParameters).answerString = opts.image.disp_opts;
inputText(numParameters).answerType = 'string';
inputText(numParameters).tag = 'image_values';
inputText(numParameters).enable = 'on';
inputText(numParameters).value = chkImgInd;


numParameters = numParameters + 1;
z_opts = {'Yes', 'No'};
chkZInd = strmatch(lower(opts.image.convertToZ), lower(z_opts), 'exact');
inputText(numParameters).promptString = 'Do you want to scale image values to z-scores (for display)?';
inputText(numParameters).uiType = 'popup';
inputText(numParameters).answerString = z_opts;
inputText(numParameters).answerType = 'string';
inputText(numParameters).tag = 'convert_to_z';
inputText(numParameters).enable = 'on';
inputText(numParameters).value = chkZInd;

numParameters = numParameters + 1;
inputText(numParameters).promptString = 'Enter threshold for maps (for display)';
inputText(numParameters).uiType = 'edit';
inputText(numParameters).answerString = num2str(opts.image.threshold_maps);
inputText(numParameters).answerType = 'numeric';
inputText(numParameters).tag = 'thresh_maps';
inputText(numParameters).enable = 'on';
inputText(numParameters).value = 1;


answer = ica_fuse_inputDialog('inputtext', inputText, 'Title', 'Select nnet statistics params', 'handle_visibility',  'on', 'windowStyle', 'modal');

drawnow;

if (~isempty(answer))
    opts.thresh = answer{1};
    opts.thresh_criteria = answer{2};
    opts.image.image_values = answer{3};
    opts.image.convertToZ = answer{4};
    opts.image.threshold_maps = answer{5};
else
    error('Figure window was quit');
    
end