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_check_motion_print.m
    path of file: ./repos/bspm/qa
    
    the code of the file until where you have to start completion: function bspm_check_motion_print(rpfiles)
% BSPM_CHECK_MOTION Checks motion descriptives form an rp*txt file
% 
% USAGE: bspm_check_motion(rpfiles)

    
function bspm_check_motion_print(rpfiles)
% BSPM_CHECK_MOTION Checks motion descriptives form an rp*txt file
% 
% USAGE: bspm_check_motion(rpfiles)
%
% ARGUMENTS
%   rpfiles = realignment parameter files (cell arary)
%

% ------------------------ Copyright (C) 2014 ------------------------
%	Author: Bob Spunt
%	Affilitation: Caltech
%	Email: spunt@caltech.edu
%
%	$Revision Date: Aug_20_2014

if nargin<1, mfile_showhelp; return; end
if ischar(rpfiles), rpfiles = cellstr(rpfiles); end