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: bspm_3dto4d.m
    path of file: ./repos/bspm/utilities
    
    the code of the file until where you have to start completion: function matlabbatch = bspm_3dto4d(in, outname)
% BSPM_3DTO4D
%
% USAGE: matlabbatch = bspm_3dto4d(in, outname)
%
% ARGUMENTS
%   in: array of 3D volumes to convert (cell or char)

    
function matlabbatch = bspm_3dto4d(in, outname)
% BSPM_3DTO4D
%
% USAGE: matlabbatch = bspm_3dto4d(in, outname)
%
% ARGUMENTS
%   in: array of 3D volumes to convert (cell or char)
%   out: name to give 4D volume [default = 4D.nii]
%
% Bob Spunt, November 18, 2012
% 

% ---------------- Copyright (C) 2014 ----------------
%	Author: Bob Spunt
%	Affilitation: Caltech
%	Email: spunt@caltech.edu
%
%	$Revision Date: Aug_20_2014
if nargin < 1, mfile_showhelp; return; end