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: icatb_dfnc_batch.m
    path of file: ./repos/bspm/thirdparty/MIALAB/GroupICATv4.0a/icatb/icatb_helper_functions
    
    the code of the file until where you have to start completion: function icatb_dfnc_batch(file_name)
%% Batch for dfnc analysis
%

file_name = deblank(file_name);

addpath(fileparts(which(file_name)));

%% Read input parameters
dfncInfo = readFile(file_name);

%% Run dFNC
icatb_run_dfnc(dfncInfo);


function dfncInfo = readFile(file_name)
%% Rea
    
function inputParameters = fillValuesControls(inputParameters, fieldsToCheck, fparams, tags)
%% Fill values in feature defaults window
%

for nF = 1:length(fieldsToCheck)
    
    chk = strmatch(fieldsToCheck{nF}, tags, 'exact');
    
    try
        if (~isempty(chk))
            
            val = fparams.(fieldsToCheck{nF});
            
            if (isnumeric(val))
                val = num2str(val);
            end