Dear Sirs,
I am new in using REST. When I try to calculate Functional Connectivity I obtain the error messages copied below and reported in the attached files. When I restart matlab and run rest_Fix_Read_Write_Error a dialog window suggests me to install spm and compile the mex files correctly according to http://en.wikibooks.org/wiki/SPM/Installation_on_64bit_Linux. I use windows7 32bit, matlab R2008a, REST_V1.7_120101 and spm8. Do you have any suggestion to give me? Reho and ALFF work properly.
best regards
stefania
Exception occured. ()
Error using ==> rest_Fix_Read_Write_Error at 64
Meet error while fixing read write error. Please restart MATLAB, and run "rest_Fix_Read_Write_Error" before starting anything.
64#line, rest_Fix_Read_Write_Error, in "C:\Users\nicolosi.s\Downloads\REST_V1.7_120101\REST_V1.7_120101\rest_Fix_Read_Write_Error.m"
91#line, rest_WriteNiftiImage, in "C:\Users\nicolosi.s\Downloads\REST_V1.7_120101\REST_V1.7_120101\rest_WriteNiftiImage.m"
80#line, rest_writefile, in "C:\Users\nicolosi.s\Downloads\REST_V1.7_120101\REST_V1.7_120101\rest_writefile.m"
118#line, rest_SphereROI, in "C:\Users\nicolosi.s\Downloads\REST_V1.7_120101\REST_V1.7_120101\rest_SphereROI.m"
126#line, fc, in "C:\Users\nicolosi.s\Downloads\REST_V1.7_120101\REST_V1.7_120101\fc.m"
1349#line, btnComputeFC_Callback, in "C:\Users\nicolosi.s\Downloads\REST_V1.7_120101\REST_V1.7_120101\fc_gui.m"
96#line, gui_mainfcn, in "C:\Program Files\MATLAB\R2008a\toolbox\matlab\guide\gui_mainfcn.m"
37#line, fc_gui, in "C:\Users\nicolosi.s\Downloads\REST_V1.7_120101\REST_V1.7_120101\fc_gui.m"
Attachment | Size |
---|---|
error 1.jpg | 19.05 KB |
error 2.jpg | 232.71 KB |
error 3.jpg | 17.47 KB |
Submitted by YAN Chao-Gan on Thu, 01/19/2012 - 23:07 Permalink
Re
Hi!
Before running "rest_Fix_Read_Write_Error", please ensure SPM8 is correctly installed and added in path with sub-folders.
In addition, do not use "space" or any other special characters in your path of data.
Submitted by legend_long on Sat, 01/28/2012 - 22:42 Permalink
I meet the same problem
when I run the DPASFA,the same error showed in matlab.I have already check the SPM8 and sub-folders but I can't find any error in it.How to solve the problem?
Submitted by YAN Chao-Gan on Tue, 01/31/2012 - 00:59 Permalink
Re
Have you followed "Please restart MATLAB, and run "rest_Fix_Read_Write_Error" before starting anything." And what's the response?
In addition, please do not use Chinese and special characters (even space) in the path.
Submitted by legend_long on Wed, 02/01/2012 - 11:53 Permalink
yes,but the problem is still
yes, the problem is still exists.But I have use another way to solve this problem.
Submitted by stefania on Wed, 02/01/2012 - 15:27 Permalink
I am not able to solve the
I am not able to solve the problem. When I run rest_Fix_Read_Write_Error I obtain the following message: "Please install SPM5 (or above release) and compile the mex files correctly according to http://en.wikibooks.org/wiki/SPM/Installation_on_64bit_Linux". I'd like to know what is the way you solve it.
Submitted by YAN Chao-Gan on Wed, 02/01/2012 - 23:42 Permalink
Re
For "Please install SPM5 (or above release) and compile the mex files correctly according to http://en.wikibooks.org/wiki/SPM/Installation_on_64bit_Linux".
Have you installed SPM? Does SPM work?
Submitted by stefania on Thu, 02/02/2012 - 15:09 Permalink
yes, I have installed spm8
yes, I have installed spm8 and it works properly. I have tryed to install previous version of rest and dparsf but I obtain the same error message. I remember you that I work with windows7 32bit
Submitted by YAN Chao-Gan on Fri, 02/03/2012 - 04:43 Permalink
Re
Then what's the problem you encountered?
If your SPM8 work properly, then you will not encounter: "run rest_Fix_Read_Write_Error I obtain the following message: "Please install SPM5 (or above release) and compile the mex files correctly according to http://en.wikibooks.org/wiki/SPM/Installation_on_64bit_Linux".".
In addition, please do not any special characters (even space) in your data path.
Submitted by stefania on Fri, 02/03/2012 - 16:16 Permalink
I don't know what is the
I don't know what is the problem. The strange thing is that ReHo and ALFF works properly too. I obtain the cited error message only when I run Functional Connetivity
Submitted by YAN Chao-Gan on Tue, 02/07/2012 - 00:01 Permalink
Re
Hi!
This error occurs when writing the ROI file to temp dir with your username (There is a dot "." in your user name).
Please download the new rest_SphereROI.m and replace the original one. Then they will work properly.
http://pub.restfmri.net/index.php?dir=&file=rest_SphereROI.m
Submitted by stefania on Tue, 02/07/2012 - 15:33 Permalink
Hi, many thanks. I hove
Hi,
many thanks. I hove solved the problem!!!