Hi Marco,
> Im triyng to use spm_dcm_U function to change some DCM models,
> here is my function input:
> spm_dcm_U('DCM_M01_S02.mat', 'SPM', 2,{0,0,0,0,1,1});
> I receive this error message:
> Error in spm_dcm_U: 4 inputs expected, but only 2 passed on
> ??? Error using ==> spm_dcm_U
Matlab is actually trying to help you with the error message, as the
function expects 4 inputs but you only specified 2. If you type
help spm_dcm_U
in the Matlab window, you get (in SPM8):
> Insert new inputs into a DCM model
> FORMAT [] = spm_dcm_U (DCM_filename,SPM_filename,session,input_nos)
>
> DCM_filename Name of DCM file
> SPM_filename Name of SPM file (eg. 'SPM')
> session Session number (eg. 1)
> input_nos Inputs to include and their parametric modulations
... and some more information. This may help you in configuring the call
to the function in the way it expects it.
Hope this helps,
Marko
--
=====================================================================
Marko Wilke (Dr.med./M.D.)
[log in to unmask]
Universitäts-Kinderklinik University Children's Hospital
Abt. III (Neuropädiatrie) Dept. III (Pediatric neurology)
Hoppe-Seyler-Str. 1, D - 72076 Tübingen
Tel.: (+49) 07071 29-83416 Fax: (+49) 07071 29-5473
=====================================================================
|