Andrew,
I've been out of town (down south, in New Zealand actually!).
Have you had any resolution with your problem? We've had other people
do the demonstration successfully so I'm not sure what you're running
into.
Let me know how it's going and I'll see what I can do to to help you.
-Tom
-- Thomas Nichols -------------------- Department of Biostatistics
http://www.sph.umich.edu/~nichols University of Michigan
[log in to unmask] 1420 Washington Heights
-------------------------------------- Ann Arbor, MI 48109-2029
On Fri, 13 Jan 2006, [log in to unmask] wrote:
> Dear Hui,
>
> Yes, I have been following the examples available at
> http://www.sph.umich.edu/~nichols/SPMd/. The model summary computes and is
> able to be visualised without error, but am having difficulties with
> visualising scan summary (after computation) and also when computing scan
> detail. The errors returned at these stages were detailed in my previous
> email.
>
> kind regards,
>
> Andrew
>
> Quoting HUI ZHANG <[log in to unmask]>:
>
>> Hi Andrew,
>>
>> I do not your actual step. Did you do the "compute" step before
>> visualization?
>>
>> Best,
>> Hui
>>
>> On Thu, 12 Jan 2006, Andrew Kemp wrote:
>>
>>> Dear List,
>>>
>>> Many thanks Dianne for the spmd_defaults file and zipped working copy
>> of
>>> spmd off the list. I still seem to be having difficulties with the
>> scan
>>> summary and detail. When attempting to visualise the scan summary, the
>>> following error is returned: ??? Undefined function or variable 'nTR'.
>> (full
>>> details below). Additionally, when computing scan detail an error is
>>> returned attempting to read a subject other than that which is being
>>> analysed (despite the SPM.mat file not containing this incorrect
>>> information. ie. SPM.xY.VY.fname). Any ideas?
>>>
>>> ----------------
>>>
>>> ??? Undefined function or variable 'nTR'.
>>>
>>> Error in ==> c:\program files\spm2\toolbox\spmd2\spmd_mtsview.m
>> (countTS)
>>> On line 179 ==> if nTR ~= length(TS{k}), error('Not all time
>> series
>>> are the same length'); end
>>>
>>> Error in ==> c:\program files\spm2\toolbox\spmd2\spmd_mtsview.m
>>> On line 78 ==> [TSs,Titl,Legs,nTS,nTR] = countTS(varargin{:});
>>>
>>> Error in ==> c:\program files\spm2\toolbox\spmd2\spmd_SS.m
>>> On line 141 ==> spmd_mtsview('FigYsp',[0 (nTS-1)/nTS],TR,TS{:});
>>>
>>> Error in ==> c:\program files\spm2\toolbox\spmd2\spmd.m
>>> On line 771 ==> spmd_SS('ts',{Fig{1:nFig}});
>>>
>>> ??? Error while evaluating uicontrol Callback.
>>>
>>> ----------------
>>>
>>> ??? Error using ==> spm_vol (subfunc1)
>>> Can't get volume information for 'W:\...\10003756con_0004.img'
>>>
>>> Error in ==> c:\program files\spm2\spm_vol.m (subfunc2)
>>> On line 51 ==> V = subfunc1(P);
>>>
>>> Error in ==> c:\program files\spm2\spm_vol.m
>>> On line 37 ==> V = subfunc2(P);
>>>
>>> Error in ==> c:\program files\spm2\toolbox\spmd2\spmd_MkResid.m
>>> On line 66 ==> VY = spm_vol(str2mat(VY.fname));
>>>
>>> Error in ==> c:\program files\spm2\toolbox\spmd2\spmd.m
>>> On line 643 ==> PstRes = spmd_MkResid(xSPM);
>>>
>>> Error in ==> c:\program files\spm2\toolbox\spmd2\spmd.m
>>> On line 217 ==> spmd('sd',[],'compute')
>>>
>>> ??? Error while evaluating uicontrol Callback.
>>>
>>> _____
>>>
>>> From: Andrew Kemp [mailto:[log in to unmask]]
>>> Sent: Wednesday, 11 January 2006 1:15 PM
>>> To: [log in to unmask]
>>> Subject: where to locate the spmd_defaults file?
>>>
>>> Dear List,
>>>
>>> I am attempting to use spmd2 and am wondering whether I need the
>>> spmd_defaults.m for this add-on to work appropriately. After
>> downloading the
>>> spmd2 folder and adding this folder to the path, the following error
>>> appears:
>>>
>>> ??? Undefined function or variable 'spmd_defaults'.
>>>
>>> Error in ==> z:\bdc\fmri matters\spm\spm2d\files\spmd2b\spmd.m
>>> On line 107 ==> spmd_defaults
>>>
>>> However, if the call to spmd_defaults in spmd.m is commented out, the
>> main
>>> menu appears and the "model summary" and "scan summary" compute
>> without
>>> error. Visualisation of "model summary" also appears without error,
>> however
>>> I am unable to visualise "scan summary" and am wondering whether this
>> has
>>> anything to do with there being no spmd_defaults in my working dir.
>>>
>>> The following error is returned when attempting to visualise "scan
>> summary":
>>>
>>> ??? Attempt to reference field of non-structure array 'SPMd_defs'.
>>>
>>> Error in ==> z:\bdc\fmri matters\spm\spm2d\files\spmd2b\spmd_SS.m
>>> On line 54 ==> Marker = SPMd_defs.Marker; %-Specify marker
>> size and
>>> marker style
>>>
>>> Error in ==> z:\bdc\fmri matters\spm\spm2d\files\spmd2b\spmd.m
>>> On line 773 ==> spmd_SS('ts',{Fig{1:nFig}});
>>>
>>> ??? Error while evaluating uicontrol Callback.
>>>
>>>>>
>>>
>>> Sincerely and thanks,
>>>
>>> Andrew
>>>
>>
>
>
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
>
>
|