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: arReadPEtabYaml.m
    path of file: ./repos/d2d/arFramework3/ImportExport
    
    the code of the file until where you have to start completion: function yamlContent = arReadPEtabYaml(name)
% Reads PEtab yaml file, outputs struct of cell arrays with size 1
% Not supported: more than one tsv file per category, more than one sbml

    
function yamlContent = arReadPEtabYaml(name)
% Reads PEtab yaml file, outputs struct of cell arrays with size 1
% Not supported: more than one tsv file per category, more than one sbml
% file, multiple problems

if ~contains(name,'.yaml')
    name = [name,'.yaml'];
end