@Jill short answer: load the .mat file and look in the DM_info field.
Here's a script I wrote to get the translation and rotation (can easily add the other two, which I think are squeeze and shear). You can batch it with a wrapper script.
function mpout = E_DTI_MP(filename)
% Save motion parameters from a corrected ExploreDTI data set
% FORMAT: mpout = E_DTI_MDC_graph(filename)
% INPUT:
% filename - ExploreDTI file with motion corrected
% OUTPUT:
% mpout - Movement parameters, images in rows, translation and
% rotation in columns (xt, yt, zt, xr, yr, zr)
if ~exist(filename,'file')
error('File not found: %s\n\n',filename)
end
fprintf('Loading %s ...', filename)
try
input = load(filename,'DM_info');
catch
error('\nCannot find motion correction information. Are you sure this file has been corrected?\n\n')
end
if ~isfield(input,'DM_info')
error('\nCannot find motion correction information. Are you sure this file has been corrected?\n\n')
end
fprintf('\n')
nimg = length(input.DM_info);
mp = nan(4,3,nimg);
fprintf('Reading data 000 / %03d',nimg)
for img = 1:nimg
fprintf('\b\b\b\b\b\b\b\b\b%03d / %03d',img,nimg)
mp(:,:,img) = input.DM_info{img}{1};
end %img
fprintf('\nDone\n\n')
rot = squeeze(mp(1,:,:))';
trans = squeeze(mp(2,:,:))';
mpout = [trans,rot];