JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for SPM Archives


SPM Archives

SPM Archives


SPM@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

SPM Home

SPM Home

SPM  December 2007

SPM December 2007

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: Matlab Student R2007a & SPM

From:

Volkmar Glauche <[log in to unmask]>

Reply-To:

Volkmar Glauche <[log in to unmask]>

Date:

Fri, 14 Dec 2007 19:11:45 +0100

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (204 lines)

Hi Katja,

SPM99???? You need to run an old Matlab version (5.3 or perhaps 6.1)  
if you still want to run SPM99... It will not work with 2007a without  
major changes to the code.

Volkmar

Quoting Katja Umla-Runge <[log in to unmask]>:

> 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
>>>
>>

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
2006
2005
2004
2003
2002
2001
2000
1999
1998


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager