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: m2tUpdater.m
    path of file: ./repos/matlab2tikz/src/private
    
    the code of the file until where you have to start completion: function m2tUpdater(about, verbose)
%UPDATER   Auto-update matlab2tikz.
%   Only for internal usage.

%   Copyright (c) 2012--2014, Nico Schl√∂mer <nico.schloemer@gmail.com>
%   All rights reserved.
%
%   Redistribution and use in source and binary forms, with or without
%   modification, are permitted provided that the following conditions are
%   met:
%
%      * Redistributions of source code must retain the above copyright
%        notice, this list of conditions and the following disclaimer.
%      * Redistributions in binary form must reproduce the above copyright
%        notice, this list of conditions and the following disclaimer in
%        the documentation and/or other materials provided with the distribution
%
%   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
%   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
%   IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
%   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
%   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
%   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
%   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
%   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
%   CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
%   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
%   POSSIBILITY OF SUCH DAMAGE.
% =========================================================================
  fileExchangeUrl = about.website;
  version = about.version;

  mostRecentVersion = determineLatestRelease(version, fileExchangeUrl);
  if askToUpgrade(mostRecen
    
function warnAboutUpgradeImplications(currentVersion, latestVersion, verbose)
% This warns the user about the implications of upgrading as dictated by
% Semantic Versioning.
    switch upgradeSize(currentVersion, latestVersion);
        case 'major'
          % The API might have changed in a backwards incompatible way.
          userInfo(verbose, 'This is a MAJOR upgrade!\n');
          userInfo(verbose, ' - New features may have been introduced.');
          userInfo(verbose, ' - Some old code/options may no longer work!\n');

        case 'minor'
          % The API may NOT have changed in a backwards incompatible way.
          userInfo(verbose, 'This is a MINOR upgrade.\n');
          userInfo(verbose, ' - New features may have been introduced.');
          userInfo(verbose, ' - Some options may have been deprecated.');
          userInfo(verbose, ' - Old code should continue to work but might produce warnings.\n');

        case 'patch'
          % No new functionality is introduced
          userInfo(verbose, 'This is a PATCH.\n');
          userInfo(verbose, ' - Only bug fixes are included in this upgrade.');
          userInfo(verbose, ' - Old code should continue to work as before.')
    end
    userInfo(verbose, 'Please check the changelog for detailed information.\n');
    userWarn(verbose, '\n!! By upgrading you will lose any custom changes !!\n');
end
% ==============================================================================
function cls = upgradeSize(currentVersion, latestVersion)
% Determines whether the upgrade is major, minor or a patch.
    currentVersion = versionArray(currentVersion);
    latestVersion = versionArray(latestVersion);
    description = {'major', 'minor', 'patch'};
    for ii = 1:numel(description)
        if latestVersion(ii) > currentVersion(ii)
            cls = description{ii};
            return
        end