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: tri2quadGroupSplit.m
    path of file: ./repos/GIBBON/lib
    
    the code of the file until where you have to start completion: function [varargout]=tri2quadGroupSplit(varargin)

% function [F_quad,V_quad,indIni]=tri2quadGroupSplit(F_tri,V_tri,optionStruct)
% ------------------------------------------------------------------------
%
%
%
% Change log:
% 2018
% 2019/04/22 Updated to create cell output for a mixed mesh i.e. containing
% quads followed by triangles
%
% ------------------------------------------------------------------------

    
function [varargout]=tri2quadGroupSplit(varargin)

% function [F_quad,V_quad,indIni]=tri2quadGroupSplit(F_tri,V_tri,optionStruct)
% ------------------------------------------------------------------------
%
%
%
% Change log:
% 2018
% 2019/04/22 Updated to create cell output for a mixed mesh i.e. containing
% quads followed by triangles
%
% ------------------------------------------------------------------------

%% Parse input

switch nargin
    case 2
        F_tri=varargin{1};
        V_tri=varargin{2};
        optionStruct=[];
    case 3
        F_tri=varargin{1};
        V_tri=varargin{2};
        optionStruct=varargin{3};
end