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: get_out_approx.m
    path of file: ./repos/AI-mag/src/inductor_dataset/+dataset
    
    the code of the file until where you have to start completion: function out_approx = get_out_approx(model_type, inp)
% Get the analytical approximations for different given parameters.
%
%    Parameters:
%        model_type (str): name of the physics to be solved
%        inp (struct): struct of vectors with the parameters
%
%    Returns:
%        out_approx (struct): struct of vectors with the analytical results
%
%    (c) 2019-2020, ETH Zurich, Power Electronic Systems Laboratory, T. Guillod

    
function out_approx = get_out_approx(model_type, inp)
% Get the analytical approximations for different given parameters.
%
%    Parameters:
%        model_type (str): name of the physics to be solved
%        inp (struct): struct of vectors with the parameters
%
%    Returns:
%        out_approx (struct): struct of vectors with the analytical results
%
%    (c) 2019-2020, ETH Zurich, Power Electronic Systems Laboratory, T. Guillod

switch model_type
    case 'mf'
        out_approx = dataset.get_out_approx_mf(inp);
    case 'ht'
        out_approx = dataset.get_out_approx_ht(inp);
    otherwise
        error('invalid physics type')
end