0001 function varargout = mars_veropts(arg, varargin)
0002
0003
0004
0005
0006
0007
0008
0009 if nargin < 1
0010 varargout = {};
0011 return
0012 end
0013
0014 switch lower(arg)
0015 case 'defaults'
0016 global defaults
0017 if isempty(defaults)
0018 try
0019
0020 defaults = spm('defaults','FMRI');
0021 catch
0022
0023 spm_defaults;
0024 spm('defaults','FMRI');
0025 end
0026 end
0027 varargout = {defaults};
0028 case 'default_design'
0029 varargout = {mardo_5};
0030 case 'template_ext'
0031 varargout = {'.nii'};
0032 case 'get_img_ext'
0033 varargout = {'image'};
0034 case 'pref_img_out_ext'
0035 varargout = {'.nii'};
0036 case 'des_conf'
0037 varargout = {'SPM.mat'};
0038 case 'flip_option'
0039 varargout = {spm_flip_analyze_images};
0040 case 'design_filter_spec'
0041 varargout = {{...
0042 'SPM.mat','SPM.mat; 5,2 (all)/99 (estimated: SPM.mat)';...
0043 'SPMcfg.mat','99 with imgs: SPMcfg.mat';...
0044 'SPM_fMRIDesMtx.mat','99,FMRI,no imgs: SPM*fMRI*'}};
0045 otherwise
0046 error(['You asked for ' arg ', which is strange']);
0047 end