get voxel dimension [USAGE] [Vdim] = vb_analyze_info_get_voxdim(<obj>); [IN] obj : analyze_info object [OUT] Vdim : voxel dimension Copyright (C) 2011, ATR All Rights Reserved. License : New BSD License(see VBMEG_LICENSE.txt)
0001 function [Vdim] = vb_analyze_info_get_voxdim(obj) 0002 % get voxel dimension 0003 % [USAGE] 0004 % [Vdim] = vb_analyze_info_get_voxdim(<obj>); 0005 % [IN] 0006 % obj : analyze_info object 0007 % [OUT] 0008 % Vdim : voxel dimension 0009 % 0010 % Copyright (C) 2011, ATR All Rights Reserved. 0011 % License : New BSD License(see VBMEG_LICENSE.txt) 0012 0013 % 0014 % --- Previous check 0015 % 0016 if ~exist('obj', 'var'), error('obj is a required parameter.'); end 0017 0018 % 0019 % --- Main Procedure 0020 % 0021 Vdim = obj.Vdim;