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_setup_dyn_coh.m
    path of file: ./repos/gift/GroupICAT/icatb/toolbox/dynamic_coherence
    
    the code of the file until where you have to start completion: function icatb_setup_dyn_coh(param_file)
%% Setup Dynamic Coherence
%
% Inputs:
% 1. param_file - ICA Parameter file o
    
function removeCompNetwork(hObject, event_data, figH)
%% Remove Component network
%

cohInfo = get(figH, 'userdata');
listH = findobj(figH, 'tag', 'comp');
val = get(listH, 'value');

if (~isempty(val))
    check = icatb_questionDialog('title', 'Remove Component Network', 'textbody', 'Do you want to remove the component network from the list?');
    if (~check)
        return;
    end