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_display_orthoviews.m
    path of file: ./repos/gift/GroupICAT/icatb/icatb_helper_functions
    
    the code of the file until where you have to start completion: function icatb_display_orthoviews(anatomical_file, component_files, displayParameters)
%% Display Orthoviews of components
%
% Inputs:
% 1. anatomical_file - Anatomical file in .img or .nii format
% 2. component_files - Component file/files in .img or .nii format
% 3. displayParameters - Display parameters structure. Fields are as
% follows
%   a. image_values - Image values. Options are 'Positive and Negative',
%   'Positive', 'Absolute value' and 'Negative'
%   b. convert_to_zscores - COnvert to z-scores. Options are 'Yes' and No'
%   c. threshold - Threshold value
%

icatb_defaults;
global SUBJECT_ICA_AN3_FILE;
global COMPONENT_NAMING;
global IMAGE_VALUES
global CONVERT_Z
global THRESHOLD_VALUE


    
function icatb_display_orthoviews(anatomical_file, component_files, displayParameters)
%% Display Orthoviews of components
%
% Inputs:
% 1. anatomical_file - Anatomical file in .img or .nii format
% 2. component_files - Component file/files in .img or .nii format
% 3. displayParameters - Display parameters structure. Fields are as
% follows
%   a. image_values - Image values. Options are 'Positive and Negative',
%   'Positive', 'Absolute value' and 'Negative'
%   b. convert_to_zscores - COnvert to z-scores. Options are 'Yes' and No'
%   c. threshold - Threshold value
%

icatb_defaults;
global SUBJECT_ICA_AN3_FILE;
global COMPONENT_NAMING;
global IMAGE_VALUES
global CONVERT_Z
global THRESHOLD_VALUE

%% Select anatomical file
if (~exist('anatomical_file', 'var'))
    anatomical_file = icatb_selectEntry('typeEntity', 'file', 'title', 'Select anatomical file ...', 'filter', '*.img;*.nii', ...
        'typeselection', 'single', 'fileType', 'image', 'filenumbers', 1);
end