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: multiPersonPoseEstimation.m
    path of file: ./repos/Human-Pose-Estimation-with-Deep-Learning/src/doc
    
    the code of the file until where you have to start completion: function multiPersonPoseEstimation
%#codegen
%
% Copyright 2023 The MathWorks, Inc.


    
function multiPersonPoseEstimation
%#codegen
%
% Copyright 2023 The MathWorks, Inc.

persistent simplePoseNet;
persistent detector;
if isempty(simplePoseNet)
    simplePoseNet = coder.loadDeepLearningNetwork('simplePoseNet.mat','simplePoseNet');
end
if isempty(detector)
    % Run the following commands if you face an error regarding lack of
    % 'object_detector.mat' file. Note that yolov4ObjectDetector requires
    % Computer Vision Toolboxâ„¢ Model for YOLO v4 Object Detection support package
    % >> detector =  yolov4ObjectDetector('tiny-yolov4-coco')
    % >>save('object_detector','detector');
    detector = coder.loadDeepLearningNetwork('object_detector.mat');
end