Home > marsbar > spm99 > mars_veropts.m

mars_veropts

PURPOSE ^

returns SPM version specific parameters

SYNOPSIS ^

function varargout = mars_veropts(arg, varargin)

DESCRIPTION ^

 returns SPM version specific parameters
 FORMAT varargout = mars_veropts(arg, varargin)
  
 This the SPM 99 version

 $Id$

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function varargout = mars_veropts(arg, varargin)
0002 % returns SPM version specific parameters
0003 % FORMAT varargout = mars_veropts(arg, varargin)
0004 %
0005 % This the SPM 99 version
0006 %
0007 % $Id$
0008   
0009 if nargin < 1
0010   varargout = {};
0011   return
0012 end
0013 
0014 switch lower(arg)
0015  case 'defaults'
0016   varargout = {};
0017  case 'default_design'
0018   varargout = {mardo_99};
0019  case 'template_ext' % extension for template images
0020   varargout = {'.img'};
0021  case 'get_img_ext'  % default image extension for spm_get
0022   varargout = {'img'}; 
0023  case 'pref_img_out_ext' % preferred extension for writing images
0024   varargout = {'img'}; 
0025  case 'des_conf'     % filter for configured, not estimated SPM designs
0026   varargout = {'SPMcfg.mat'};
0027  case 'flip_option'
0028   varargout = {0};
0029  case 'design_filter_spec' 
0030   varargout = {{...
0031     'SPMcfg.mat','99 with imgs: SPMcfg.mat';...
0032     'SPM.mat','SPM.mat; 2(all)/99 (estimated: SPM.mat)';...
0033     'SPM_fMRIDesMtx.mat','99,FMRI,no imgs: SPM*fMRI*'}}; 
0034  otherwise
0035   error(['You asked for ' arg ', which is strange']);
0036 end

Generated on Wed 11-May-2022 16:26:09 by m2html © 2003-2019