Mmmh... At first I was optimistic that it would work (SPM opened and I
could enter defaults) but it again fails with every other procedure,
e.g. clicking the "results" button the following error comes up:
SPM99: spm_results_ui (v2.31) 18:31:17 - 14/12/2007
========================================================================
SPM99: spm_getSPM (v2.37) 18:31:17 - 14/12/2007
----------------------------------------------------------------
??? Invalid MEX-file
'C:\Programme\MATLAB\R2007aStudent\toolbox\matlab\spm99\spm_list_files.dll':
Die angegebene Prozedur wurde nicht gefunden.
.
Error in ==> spm_get at 923
[Files,Dirs] = spm_list_files(WDir,Filter);
Error in ==> spm_get at 730
spm_get('dir') %-Show current dir.
Error in ==> spm_get at 340
[F,cF] = spm_get('Initialise','on',n,char(Prompt),Filter,NewWDir);
Error in ==> spm_getSPM at 141
swd = spm_str_manip(spm_get(1,'SPM.mat','Select SPM.mat'),'H');
Error in ==> spm_results_ui at 261
[SPM,VOL,xX,xCon,xSDM] = spm_getSPM;
??? Error using ==> [hReg,SPM,VOL,xX,xCon,xSDM] = spm_results_ui;
Invalid MEX-file
'C:\Programme\MATLAB\R2007aStudent\toolbox\matlab\spm99\spm_list_files.dll':
Die angegebene Prozedur wurde nicht gefunden.
.
??? Error while evaluating uicontrol Callback
I will translate "Die angegebene Prozedur wurde nicht gefunden." = The
procedure you entered couldn't be found
However, the .dll-file that couldn't be found does exist in the very
folder to which I CDed...?!?
Do you have any suggestions?
Thanks a lot!
Katja
--
Dipl.Psych. Katja Umla-Runge
Saarland University
Department of Psychology phone: +49 - (0)681 - 302 4643
P.O.Box 151150 fax: +49 - (0)681 - 302 4049
D-66041 Saarbruecken email: [log in to unmask]
www.BrainCog.de
Zitat von "Sauder, Colin Leigh" <[log in to unmask]>:
> Try CD to the directory and start it from there (so path isn't an
> issue). If it works, then you could try in the future a manual addpath.
> You can also try resetting the path in matlab (under file menu).
> Sometimes the student version has trouble with paths.
>
> Example:
>
> addpath c:\MATLAB\spm5\
>
> Good luck.
>
> - C
>
>
>
> -----Original Message-----
> From: SPM (Statistical Parametric Mapping) [mailto:[log in to unmask]]
> On Behalf Of Katja Umla-Runge
> Sent: Friday, December 14, 2007 10:46 AM
> To: [log in to unmask]
> Subject: Re: [SPM] Matlab Student R2007a & SPM
>
> Hi Colin,
>
> Thank you for your suggestion. I did it and set the path properly to
> the new folders but now it doesn't know spm anymore
>
> ??? Undefined function or variable 'spm'.
>
> Any ideas?
>
> Thank you
>
> Katja
>
> --
> Dipl.Psych. Katja Umla-Runge
>
> Saarland University
> Department of Psychology phone: +49 - (0)681 - 302 4643
> P.O.Box 151150 fax: +49 - (0)681 - 302 4049
> D-66041 Saarbruecken email: [log in to unmask]
>
> www.BrainCog.de
>
>
> Zitat von "Sauder, Colin Leigh" <[log in to unmask]>:
>
>> This is probably a windows unzip issue. That's why the files are only
>> corrupt in windows - See below:
>>
>> Grab SPM from the website and unpack it (If using WinZip, be sure to
>> uncheck "Tar file smart CR/LF conversion", which is under the
>> "miscellaneous" tab in "configuration" under "options").
>>
>>
>> = Colin
>>
>> -----Original Message-----
>> From: SPM (Statistical Parametric Mapping) [mailto:[log in to unmask]]
>> On Behalf Of Katja Umla-Runge
>> Sent: Friday, December 14, 2007 9:02 AM
>> To: [log in to unmask]
>> Subject: [SPM] Matlab Student R2007a & SPM
>>
>> Dear SPMers,
>>
>> I bought Matlab 7.4.0 (R2007a) Student Version recently and try to run
>> SPM on it (in Windows). Unfortunately, this doesn't work. For
>> instance, when I want to start SPM5 with "spm", the following error is
>> displayed:
>>
>> ??? Error using ==> load
>> Unable to read MAT-file C:\Programme\MATLAB\R2007a
>> Student\toolbox\spm99\spm5\spm_Welcome.fig
>>
>> File may be corrupt.
>>
>> Error in ==> hgload at 43
>> fileVars = load(filename,'-mat');
>>
>> Error in ==> openfig at 78
>> [fig, savedvisible] = hgload(filename, struct('Visible','off'));
>>
>> Error in ==> spm at 329
>> openfig('spm_Welcome');
>>
>> If I enter "spm fmri", it is the following:
>>
>> Initialising SPM..??? Error using ==> load
>> Unable to read MAT-file C:\Programme\MATLAB\R2007a
>> Student\toolbox\spm99\spm5\spm_Menu.fig
>>
>> File may be corrupt.
>>
>> Error in ==> hgload at 43
>> fileVars = load(filename,'-mat');
>>
>> Error in ==> openfig at 78
>> [fig, savedvisible] = hgload(filename, struct('Visible','off'));
>>
>> Error in ==> spm at 391
>> Fmenu = openfig('spm_Menu');
>>
>> Error in ==> spm at 356
>> Fmenu = spm('CreateMenuWin','off');fprintf('.');
>>
>> Could it be that Matlab student version recognizes SPM files generally
>> as being corrupt?
>> The same files work perfectly well in a Linux window with Matlab
>> 7.2.0.294 (R2006a).
>>
>> Thank you
>>
>> Katja
>>
>> --
>> Dipl.Psych. Katja Umla-Runge
>>
>> Saarland University
>> Department of Psychology phone: +49 - (0)681 - 302 4643
>> P.O.Box 151150 fax: +49 - (0)681 - 302 4049
>> D-66041 Saarbruecken email: [log in to unmask]
>>
>> www.BrainCog.de
>>
>
|