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_nii_img_only.m
    path of file: ./repos/sepia/utils/nifti
    
    the code of the file until where you have to start completion: %% function img = load_nii_img_only(filename)
%
% Description: Load images data only
%
% Kwok-shing Chan @ DCCN
% k.chan@donders.ru.nl
% Date created: 9 October 2016
% Date modified: 11 September 2018
% Date modified: 26 June 2020 (v0.8.0)
    
function img = load_nii_img_only(filename)
%
% Description: Load images data only
%
% Kwok-shing Chan @ DCCN
% k.chan@donders.ru.nl
% Date created: 9 October 2016
% Date modified: 11 September 2018
% Date modified: 26 June 2020 (v0.8.0)
%
function img = load_nii_img_only(filename)
% try 
%     info = niftiinfo(filename);
%     if info.MultiplicativeScaling == 0
%         img = double(niftiread(info));
%     else
%         img = double(niftiread(info))*info.MultiplicativeScaling + info.AdditiveOffset;
%     end