function varargout = load_accel_mat (ACCEL_file)
% load_accel_mat: loads accel mat file
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

junk=load(ACCEL_file);
junk.accel_name=char(strcat('junk.',fieldnames(junk)));

% initialize VARARGOUT in the even of a cancel
if nargout > 0
   varargout{1} = transpose(eval(junk.accel_name));
end

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
return;
