Hey merci Guillaume,
well spotted - guide was not in my path ?? other directories neither ..
so weird .. anyway I reedited my path manually .. sorry for the bother
.. and it now works well
cheers
cyril
> Dear Cyril,
>
> gui_mainfcn is a Matlab function used by interfaces generated with
> Guide (the batch editor window being one) and should be somewhere in
> your path.
> Does the following line helps?
>
>>> addpath(fullfile(matlabroot,'toolbox','matlab','guide'))
>>>
>
> All the best,
> Guillaume.
>
> 2009/6/10 cyril pernet <[log in to unmask]>:
>
>> Dear Guillaume, SPMers,
>>
>> I just installed matlab R2008b (7.7.0.471) on my Red Hat .. and now I cannot
>> use SPM8 for some weird gui error ... :'(
>> note that it does load the 1st GUI if I type in 'spm' but after heating the
>> fMRI button I got the same error as typing directly spm fmri
>>
>> --------------------------
>>
>> Initialising SPM...??? Undefined function or method 'gui_mainfcn' for input
>> arguments of type 'struct'.
>>
>> Error in ==> cfg_ui at 51
>> [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
>>
>> Error in ==> spm_jobman at 145
>> f = cfg_ui('Visible','off'); % Create invisible batch ui
>>
>> Error in ==> spm at 340
>> spm_jobman('initcfg');
>>
>> ??? Error while evaluating uicontrol Callback
>>
>> -------------------------------
>>
>> any suggestions ?
>>
>> cheers
>> cyril
>>
>>
>> --
>> The University of Edinburgh is a charitable body, registered in
>> Scotland, with registration number SC005336.
>>
>>
>>
>
>
--
Dr Cyril Pernet,
fMRI Lead Researcher SINAPSE
SFC Brain Imaging Research Center
Division of Clinical Neurosciences
University of Edinburgh
Western General Hospital
Crewe Road
Edinburgh
EH4 2XU
Scotland, UK
[log in to unmask]
tel: +44(0)1315373661
http://www.sbirc.ed.ac.uk/cyril
http://www.sinapse.ac.uk/
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
|