Submitted by YAN Chao-Gan on Thu, 08/27/2009 - 23:08
Since the module of reading and writing NIfTI images in REST is based on some spm compiled files, you may encounter the problem of “Error using ==> rest_WriteNiftiImage at 92” if you use the most recent OS.
Please do the following steps to fix this problem:
1. Please install SPM5 (or above release) and compile the mex files correctly according to http://en.wikibooks.org/wiki/SPM/Installation_on_64bit_Linux.
2. Please install the latest release of REST.
3. Run the function: REST_Fix_Read_Write_Error. Please click here to download it!