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: loadConventionalGEM.m
    path of file: ./repos/GECKO/src/geckomat/utilities
    
    the code of the file until where you have to start completion: function model = loadConventionalGEM(filename, modelAdapter)
% loadConventionalGEM
%   Loads the conventional GEM (non-ecModel) from the location specified in

    
function model = loadConventionalGEM(filename, modelAdapter)
% loadConventionalGEM
%   Loads the conventional GEM (non-ecModel) from the location specified in
%   the modelAdapter. By default, it looks in the models/ subdirectory of 
%   the param.path specified in the modelAdapter. When loading
%   conventional GEMs from other locations, one can directly use importModel.
%
% Input:
%   filename        name of the model file, located in the the models/
%                   subfolder of param.path as specified in the
%                   modelAdapter (Optional, will otherwise use the
%                   value specified as param.convGEM in the
%                   modelAdapter)
%   modelAdapter    a loaded model adapter, from where the model folder is
%                   read (Optional, will otherwise use the default model adapter).
%
% Output:
%   model           model in RAVEN format
%
% Usage:
%   model = loadConventionalGEM(filename, modelAdapter)


if nargin < 2 || isempty(modelAdapter)
    modelAdapter = ModelAdapterManager.getDefault();
    if isempty(modelAdapter)
        error('Either send