Dear Chris:
 
We have been successful in running SSMPCA toolbox on MRI data.
The problem you had is most likely related to the incompatibility of
computing environment.
 
The online version of SSMPCA was tested for windows OS and
Matlab 7.1 on 32bit system.
 
If you are running matlab versions higher than this one, please
copy the two attached files and follow the notes below. In any
case we will give you a hand to ensure that SSMPCA can be
run in your place.
 
Let me know how it goes so that we can help you further.
 
Best, Yilong Ma, PhD 
 
-------------

The file browser used by “ssm_pca” (get_file.m) calls various system .dll (dynamic link library modules) such as spm_w32utils.dll and spm_list_fls.dll. Although these modules run properly and have been tested here for MATLAB versions up to R2006b, they have sometimes caused problems for users when the system is corrupted or modified. There are some procedures described on the web for finding and replacing missing or corrupted .dll functions, If you do not want to try that, you can try the attached alternate get_file.m function that uses MATLAB routines directly and does not depend on SPM. This function has been tested in MATLAB ver. 6.1 and R2006b on windows XP and 7 and it may work in 2010a.

To install, replace the two files vp_defaults.m and get_file.m in the ssm_pca\vpm directory with the attached files.

If you encounter any problems let me know or you can contact Dr. Yilong Ma ([log in to unmask]).

 

Sincerely,

  

Phoebe G. Spetsieris, Ph.D.

Associate Investigator

Center for Neurosciences

Functional Brain Imaging Laboratory

The Feinstein Institute for Medical Research

[log in to unmask]

 
 


From: SPM (Statistical Parametric Mapping) [mailto:[log in to unmask]] On Behalf Of Weise, Christopher (NIH/NIDDK) [F]
Sent: Thursday, March 29, 2012 12:15 PM
To: [log in to unmask]
Subject: [SPM] ssm_pca toolbox

Dear SPM experts,

 

I am trying to run a pca analysis of structural MRI data using the ssm_pca toolbox, but I do get error messages when trying to specify the images. I tried to run the toolbox on several different systems, linux 64bit , windows 7 64 and 32 (with Matlab 64/32bit) with both SPM5 and SPM8 encountering similar problems on each system.

 

This is the error message (for SPM 5 under windows 7 64 and 32 bit)

 

RawData =

 

     1

 

??? Invalid MEX-file '\\psf\Home\Desktop\SSM_PCA\ssm_pca\vpm\spm_w32utils.dll':

\\psf\Home\Desktop\SSM_PCA\ssm_pca\vpm\spm_w32utils.dll is not a valid Win32 application.

 

.

 

Error in ==> get_file at 1682

drivestr  = spm_w32utils('drives');

 

Error in ==> get_file at 489

                uicontrol(F,'Style','PopUp','Tag','DrivesPopup',...

 

Error in ==> get_file at 719

                if isempty(F),     F=get_file('CreateFig'); end        %-Create SelFileWin

 

Error in ==> get_file at 333

                [F,cF] = get_file('Initialise','on',n,char(Prompt),Filter,NewWDir);

??? Error while evaluating uicontrol Callback

 

 

A similar problem had been reported on the list a couple of years ago, but I couldn't find an answer.

 

Any help would be greatly appreciated.

 

Thanks in advance & best regards  

 

Chris

 


The information contained in this electronic e-mail transmission and any attachments are intended only for the use of the individual or entity to whom or to which it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the reader of this communication is not the intended recipient, or the employee or agent responsible for delivering this communication to the intended recipient, you are hereby notified that any dissemination, distribution, copying or disclosure of this communication and any attachment is strictly prohibited. If you have received this transmission in error, please notify the sender immediately by telephone and electronic mail, and delete the original communication and any attachment from any computer, server or other electronic recording or storage device or medium. Receipt by anyone other than the intended recipient is not a waiver of any attorney-client, physician-patient or other privilege.