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: load_ct_cube.m
    path of file: ./repos/DicomToolboxMatlab/dicom_import
    
    the code of the file until where you have to start completion: function [cube, xVec, yVec, zVec] = load_ct_cube(input_files_list)
% The function takes a list (cell) of paths to CT dicom files and returns
% the CT cube and cube grid vectors.
% 
% the cube is in LPS coordinate system (Anterior->Posterior, Right->Left,
% Inferior->Superior)
% http://www.itk.org/Wiki/images/thumb/f/f8/ImageOrientationStandard.png/800px-ImageOrientationStandard.png
%
% Hubert Gabrys <hubert.gabrys@gmail.com>, 2015-2016
% License MIT
%


    
function [cube, xVec, yVec, zVec] = load_ct_cube(input_files_list)
% The function takes a list (cell) of paths to CT dicom files and returns
% the CT cube and cube grid vectors.
% 
% the cube is in LPS coordinate system (Anterior->Posterior, Right->Left,
% Inferior->Superior)
% http://www.itk.org/Wiki/images/thumb/f/f8/ImageOrientationStandard.png/800px-ImageOrientationStandard.png
%
% Hubert Gabrys <hubert.gabrys@gmail.com>, 2015-2016
% License MIT
%

for i = 1:length(input_files_list) % for every file of a given patient
    %% load dicominfo
    dicom_info = read_dicominfo(input_files_list{i}, true, false);
    cube(:,:,i) = dicomread(dicom_info);
    zVec(i,1) = dicom_info.ImagePositionPatient(3);
end