Home > rest_20090422 > rest_spm5_files > @read_nifti > fieldnames.m

fieldnames

PURPOSE ^

Fieldnames of a NIFTI-1 object

SYNOPSIS ^

function t = fieldnames(obj)

DESCRIPTION ^

 Fieldnames of a NIFTI-1 object
 _______________________________________________________________________
 Copyright (C) 2005 Wellcome Department of Imaging Neuroscience

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

DOWNLOAD ^

fieldnames.m

SOURCE CODE ^

0001 function t = fieldnames(obj)
0002 % Fieldnames of a NIFTI-1 object
0003 % _______________________________________________________________________
0004 % Copyright (C) 2005 Wellcome Department of Imaging Neuroscience
0005 
0006 %
0007 % $Id: fieldnames.m 253 2005-10-13 15:31:34Z guillaume $
0008 
0009 
0010 if isfield(obj.hdr,'magic')
0011     t = {...
0012         'dat'
0013         'mat'
0014         'mat_intent'
0015         'mat0'
0016         'mat0_intent'
0017         'intent'
0018         'diminfo'
0019         'timing'
0020         'descrip'
0021         'cal'
0022         'aux_file'
0023     };
0024 else
0025     error('This should not happen.');
0026 end;

Generated on Wed 29-Apr-2009 01:06:38 by m2html © 2005