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: mps2mat.m
    path of file: ./repos/linear-programming-using-MATLAB/codes/chapter3
    
    the code of the file until where you have to start completion: function mps2mat(filename)
% Filename: mps2mat.m
% Description: Converts an MPS file to a MAT file
% Authors: Ploskas, N., & Samaras, N., Triantafyllidis, Ch.
%
% Syntax: mps2mat(filename)
%
% Input:
% -- filename: the name of the
    
function
if k == objInd
    C{clmn} = value;
    objectivity = 1;
else
    % store to matrix A
    A(k, clmn) = value;
end
if b > 40 % if exists the fifth and sixth fields
    k2 = strmatch(varpos2, D(searchStartingPoint:mas, ...
        :), 'exact');
    if searchStartingPoint ~= 1
        k2 = k2 + searchStartingPoint - 1;
    end