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: cfg_run_cm.m
    path of file: ./repos/PsPM/src/ext/matlabbatch/private
    
    the code of the file until where you have to start completion: function cm = cfg_run_cm(cm, job)

    
function cm = cfg_run_cm(cm, job)

% function cm = cfg_run_cm(cm, job)
% Run a module and return its output. Should really become a method of
% cfg_exbranch classes.
%
% This code is part of a batch job configuration system for MATLAB. See 
%      help matlabbatch
% for a general overview.
%_______________________________________________________________________
% Copyright (C) 2007 Freiburg Brain Imaging

% Volkmar Glauche
% $Id: cfg_run_cm.m 380 2016-11-08 07:47:23Z tmoser $

rev = '$Rev: 380 $'; %#ok

if isempty(cm.vout) && ~isempty(cm.vfiles);
    cfg_message('matlabbatch:deprecated:vfiles', ...
            'Using deprecated ''vfiles'' output in node ''%s''.', cm.tag);
    feval(cm.prog, job);
    cm.jout = struct('vfiles', {feval(cm.vfiles, ...
                                      job)});
elseif isempty(cm.sout)
    % no outputs specified
    feval(cm.prog, job);
    cm.jout = [];
else
    cm.jout = feval(cm.prog, job);
end